@tempots/color
xyz2luv() function
Converts XYZ color space to LUV color space.
Signature:
xyz2luv: (xyz: XYZ, whiteReference?: [number, number, number]) => LUV
Parameters
Parameter |
Type |
Description |
---|---|---|
xyz |
The XYZ color to convert. | |
whiteReference |
[number, number, number] |
(Optional) The white reference color. Defaults to WHITE_REFERENCE. |
Returns: LUV
The converted LUV color.