Converts a P3 color to an RGB color. Optionally performs gamut mapping to ensure the resulting RGB color lies within the displayable range.
The P3 color object to be converted. If true, the resulting RGB color will be clamped to the valid range.
The converted RGB color object.
Converts a P3 color to an RGB color. Optionally performs gamut mapping to ensure the resulting RGB color lies within the displayable range.