oklabToLinearRgb
oklabToLinearRgb<
SE,SL>(value,rgbProfile):InSpace<RgbCoords,SL>
Defined in: packages/math-color/src/conversions/oklab-lrgb.ts:17
Converts OKLab values to RGB values in the range [0, 1] using the specified RGB color space profile.
Type Parameters
Section titled “Type Parameters”SE extends string
SL extends string
Parameters
Section titled “Parameters”The OKLab color to convert.
rgbProfile
Section titled “rgbProfile”RgbProfile<SE, SL>
The target RGB color space profile of the output RGB color.
Returns
Section titled “Returns”The corresponding RGB color in the range [0, 1].