Skip to content

labToLinearRgb

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

Defined in: packages/math-color/src/conversions/lab-lrgb.ts:20

Converts CIE L_a_b* to linear RGB using the specified reference white point and RGB color space.

SE extends string

SL extends string

LabCoords

The CIE L_a_b* color to convert.

XyzNormalized

The reference white point of the CIE L_a_b* color.

RgbProfile<SE, SL>

The RGB color space profile of the output linear RGB color.

InSpace<RgbCoords, SL>

The corresponding linear RGB color.