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.
Type Parameters
Section titled “Type Parameters”SE extends string
SL extends string
Parameters
Section titled “Parameters”The linear RGB color to convert.
rgbProfile
Section titled “rgbProfile”RgbProfile<SE, SL>
The RGB color space profile of the input linear RGB color.
Returns
Section titled “Returns”The corresponding CIE L_a_b* color (in the reference white point of the RGB profile).