Converts a color from CIE XYZ to CIE Lab color space.
This function implements the standard XYZ to Lab conversion algorithm, which includes:
Normalizing XYZ values by the reference white point
Applying a non-linear transformation (cube root or linear approximation)
Computing the L*, a*, and b* components
The Lab color space is designed to be perceptually uniform, meaning that
a change of the same amount in a color value should produce a change of about
the same visual importance.
Converts a color from CIE XYZ to CIE Lab color space.
This function implements the standard XYZ to Lab conversion algorithm, which includes:
The Lab color space is designed to be perceptually uniform, meaning that a change of the same amount in a color value should produce a change of about the same visual importance.