LabtoXyz

Color
stable

Convert a CIE L*a*b* colour to the CIE XYZ (D65) colour space. Used in the lighten/darken pipeline alongside XyztoLab.

API

Signature

Full TypeScript signature sourced from the util file.

typescript

API

Parameters

Input parameters accepted by this util.

lab
required
TLAB
CIE L*a*b* triplet as a tuple [L, a, b]. L in [0, 100], a and b typically in [-128, 127].

API

Return value

The value returned by this util.

CIE XYZ tristimulus tuple [X, Y, Z] normalised to the D65 illuminant.

Usage

Examples

Ready-to-paste usage snippets.

Lab to XYZ round-trip with lighten

typescript