@tempots/color
cmyk2hsluv() function
Converts a CMYK color to an HSLuv color.
Signature:
cmyk2hsluv: (cmyk: CMYK, whiteReference?: [number, number, number]) => HSLuv
Parameters
Parameter |
Type |
Description |
---|---|---|
cmyk |
The CMYK color to convert. | |
whiteReference |
[number, number, number] |
(Optional) The white reference used for the conversion. Defaults to WHITE_REFERENCE. |
Returns: HSLuv
The converted HSLuv color.