Global Variable

kCGColorSpaceExtendedSRGB

The extended sRGB color space.

Declaration

const CFStringRef kCGColorSpaceExtendedSRGB;

Discussion

This color space has the same colorimetry as kCGColorSpaceSRGB, but you can encode component values below 0.0 and above 1.0. Negative values are encoded as the signed reflection of the original encoding function, as shown in the formula below:

extendedTransferFunction(x) = sign(x) ✖️ sRGBTransferFunction(abs(x))

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software