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