Function xyzToYxy

  • Convert the given CIEXYZ color to Yxy format. Based on the EasyRGB pseudo-code.

    Parameters

    • color: Xyz

      The CIEXYZ color.

    Returns Yxy

    The CIEXYZ color in yxy format.