Function: rgbToLch()
rgbToLch(
rgb,whitePoint):LCH
Converts RGB color to LCH color.
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 LCH color values.
Defined in
conversions/components/lch.ts:73