Function: rgbToXyz()
rgbToXyz(
rgb,whitePoint):XYZ
Converts RGB to XYZ 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 XYZ color values (normalized to 0-1 range).
Defined in
conversions/components/xyz.ts:14