@microsoft/fast-colors > rgbToLAB
rgbToLAB() function
Converts a ColorRGBA64 to a ColorLAB
Signature:export declare function rgbToLAB(rgb: ColorRGBA64): ColorLAB;
Parameters
Parameter | Type | Description |
---|---|---|
rgb | ColorRGBA64 | the rgb color to convert |
Remarks
The alpha channel of the input is ignored