Function xyzToRgb

  • Convert the given CIEXYZ D65/2° standard illuminant color to an sRGB color. Based on the EasyRGB pseudo-code.

    Parameters

    • color: Xyz

      The CIEXYZ color.

    Returns Rgb

    An sRGB color.