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