Function: rgbToLab()
rgbToLab(
rgb,whitePoint):LAB
Converts RGB to LAB color space.
Parameters
| Parameter | Type | Default value | Description |
|---|---|---|---|
rgb | RGB | undefined | The RGB color values. |
whitePoint | WhitePoint | 'D65' | The white point to use (default: 'D65'). |
Returns
The LAB color values.
Defined in
conversions/components/lab.ts:73