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.
Parameters
Section titled “Parameters”The XYZ color to convert.
whitePoint
Section titled “whitePoint”The reference white point of the input XYZ color.
Returns
Section titled “Returns”The corresponding OKLab color.