Skip to content

linearRgbToLab

linearRgbToLab<SE, SL>(value, rgbProfile): LabCoords

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

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

SE extends string

SL extends string

RgbCoords

The linear RGB color to convert.

RgbProfile<SE, SL>

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

LabCoords

The corresponding CIE L_a_b* color (in the reference white point of the RGB profile).