Skip to content

xyzToLinearRgb

xyzToLinearRgb<SE, SL>(value, rgbProfile): InSpace<RgbCoords, SL>

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

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

SE extends string

SL extends string

XyzCoords

The CIE XYZ color.

RgbProfile<SE, SL>

The RGB color space profile.

InSpace<RgbCoords, SL>

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