Skip to content

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.

SE extends string

SL extends string

Oklab

The OKLab color to convert.

RgbProfile<SE, SL>

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

InSpace<RgbCoords, SL>

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