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