This function applies the XYZ to RGB transformation matrix to convert the color,
then delinearizes the RGB values (applies gamma correction) to get standard RGB values.
It also performs gamut mapping to ensure the resulting RGB values are within the valid RGB gamut.
Converts a color from CIE XYZ to RGB color space.
This function applies the XYZ to RGB transformation matrix to convert the color, then delinearizes the RGB values (applies gamma correction) to get standard RGB values. It also performs gamut mapping to ensure the resulting RGB values are within the valid RGB gamut.