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