Function xyzToLuv

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

    Parameters

    • color: Xyz

      The CIEXYZ color.

    • ref: Xyz = ...

      A standard illuminant that represents the white point.

    Returns Luv

    A CIELUV color.