Skip to content

xyzToOklab

xyzToOklab(value, whitePoint): Oklab

Defined in: packages/math-color/src/conversions/oklab-xyz.ts:44

Converts CIE XYZ to OKLab using the specified reference white points.

XyzCoords

The XYZ color to convert.

XyzNormalized

The reference white point of the input XYZ color.

Oklab

The corresponding OKLab color.