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