Skip to content

linearRgbToXyz

linearRgbToXyz<SE, SL>(value, rgbProfile): XyzCoords

Defined in: packages/math-color/src/conversions/lrgb-xyz.ts:16

Converts linear RGB values to CIE XYZ color space using the specified RGB color space profile.

SE extends string

SL extends string

RgbCoords

The linear RGB color in the range [0, 1].

RgbProfile<SE, SL>

The RGB color space profile.

XyzCoords

The corresponding CIE XYZ color.