Color Space Names

Convenience constants for commonly used color spaces.

Overview

A color space name constant can be passed as a parameter to the function CGColorSpaceCreateWithName.

Topics

Constants

kCGColorSpaceDisplayP3

The Display P3 color space, created by Apple.

kCGColorSpaceDisplayP3_HLG

The Display P3 color space, using the HLG transfer function.

kCGColorSpaceDisplayP3_PQ_EOTF

The Display P3 color space, using the PQ transfer function.

kCGColorSpaceExtendedLinearDisplayP3

The Display P3 color space with a linear transfer function and extended-range values.

kCGColorSpaceSRGB

The standard Red Green Blue (sRGB) color space.

kCGColorSpaceLinearSRGB

The sRGB color space with a linear transfer function.

kCGColorSpaceExtendedSRGB

The extended sRGB color space.

kCGColorSpaceExtendedLinearSRGB

The sRGB color space with a linear transfer function and extended-range values.

kCGColorSpaceGenericGrayGamma2_2

The generic gray color space that has an exponential transfer function with a power of 2.2.

kCGColorSpaceLinearGray

The gray color space using a linear transfer function.

kCGColorSpaceExtendedGray

The extended gray color space.

kCGColorSpaceExtendedLinearGray

The extended gray color space with a linear transfer function.

kCGColorSpaceGenericRGBLinear

The generic RGB color space with a linear transfer function.

kCGColorSpaceGenericCMYK

The generic CMYK color space.

kCGColorSpaceGenericXYZ

The XYZ color space, as defined by the CIE 1931 standard.

kCGColorSpaceGenericLab

The generic LAB color space.

kCGColorSpaceACESCGLinear

The ACEScg color space.

kCGColorSpaceAdobeRGB1998

The Adobe RGB (1998) color space.

kCGColorSpaceDCIP3

The DCI P3 color space, which is the digital cinema standard.

kCGColorSpaceITUR_709

The recommendation of the International Telecommunication Union (ITU) Radiocommunication sector for the BT.709 color space.

kCGColorSpaceROMMRGB

The Reference Output Medium Metric (ROMM) RGB color space.

kCGColorSpaceITUR_2020

The recommendation of the International Telecommunication Union (ITU) Radiocommunication sector for the BT.2020 color space.

kCGColorSpaceITUR_2020_HLG

The recommendation of the International Telecommunication Union (ITU) Radiocommunication sector for the BT.2020 color space, with the HLG transfer function.

kCGColorSpaceITUR_2020_PQ_EOTF

The recommendation of the International Telecommunication Union (ITU) Radiocommunication sector for the BT.2020 color space, with the PQ transfer function.

kCGColorSpaceExtendedLinearITUR_2020

The recommendation of the International Telecommunication Union (ITU) Radiocommunication sector for the BT.2020 color space, with a linear transfer function and extended range values.

kCGColorSpaceGenericRGB

The name of the generic RGB color space.

kCGColorSpaceGenericGray

The name of the generic gray color space.