Skip to main content
Version: 1.x

@microsoft/fast-colors > ColorLAB > toObject

ColorLAB.toObject() method

Returns the ColorLAB formatted as an object.

Signature:
toObject(): {
l: number;
a: number;
b: number;
};
Returns:

{ l: number; a: number; b: number; }