Function xyzToHunter

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

    Parameters

    • color: Xyz

      The CIEXYZ color.

    • ref: Xyz = ...

      A standard illuminant that represents the white point.

    Returns Hunter

    A Hunter Lab color.