Function labToXyz

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

    Parameters

    • color: Lab

      The CIELAB color.

    • ref: Xyz = ...

      A standard illuminant that represents the white point.

    Returns Xyz

    A CIEXYZ color.