Function: xyzToRgb()
xyzToRgb(
xyz
,whitePoint
):RGB
Converts XYZ to RGB color space.
Parameters
Parameter | Type | Default value | Description |
---|---|---|---|
xyz | XYZ | undefined | The XYZ color values (assumed to be in 0-1 range). |
whitePoint | WhitePoint | 'D65' | The white point to use (default: 'D65'). |
Returns
The RGB color values.
Defined in
conversions/components/xyz.ts:58