@lakuna/color
    Preparing search index...

    Function xyzToLab

    • Convert the given CIEXYZ color to a CIELAB color. Based on the EasyRGB pseudo-code.

      Parameters

      • color: Xyz

        The CIEXYZ color.

      • ref: Xyz = ...

        A standard illuminant that represents the white point.

      Returns Lab

      A CIELAB color.