Converts a color from OKLab to RGB color space.
This function first converts the OKLab color to XYZ, then from XYZ to RGB. Gamut mapping is performed during the conversion to ensure the resulting color is within the valid RGB gamut.
The OKLab color to convert
Optional
Whether to perform gamut mapping
The color in RGB space
Converts a color from OKLab to RGB color space.
This function first converts the OKLab color to XYZ, then from XYZ to RGB. Gamut mapping is performed during the conversion to ensure the resulting color is within the valid RGB gamut.