@tempots/color
lch2srgb() function
Converts an LCH color value to an sRGB color value.
Signature:
lch2srgb: (lch: LCH, whiteReference?: [number, number, number]) => SRGB
Parameters
Parameter |
Type |
Description |
---|---|---|
lch |
The LCH color value to convert. | |
whiteReference |
[number, number, number] |
(Optional) The white reference value. Defaults to WHITE_REFERENCE. |
Returns: SRGB
The converted sRGB color value.