Type Property

displayP3

Returns an NSColorSpace object representing a P3 Display color space.

Declaration

class var displayP3: NSColorSpace { get }

Return Value

The NSColorSpace object. This color-additive color space has red, green, blue, and alpha components.

Discussion

The Display P3 color space, created by Apple Inc. This color space uses the DCI P3 primaries, a D65 white point, and the same gamma curve as the sRGB color space.

See Also

Getting a Named Colorspace

class var deviceRGB: NSColorSpace

Returns an NSColorSpace object representing a calibrated or device-dependent RGB color space.

class var genericRGB: NSColorSpace

Returns an NSColorSpace object representing a device-independent RGB color space.

class var deviceCMYK: NSColorSpace

Returns an NSColorSpace object representing a calibrated or device-dependent CMYK color space.

class var genericCMYK: NSColorSpace

Returns an NSColorSpace object representing a device-independent CMYK color space.

class var deviceGray: NSColorSpace

Returns an NSColorSpace object representing a calibrated or device-dependent gray color space.

class var genericGray: NSColorSpace

Returns an NSColorSpace object representing a device-independent gray color space.

class var sRGB: NSColorSpace

Returns an NSColorSpace object representing an sRGB color space.

class var extendedSRGB: NSColorSpace

Returns an NSColorSpace object representing an extended sRGB color space.

class var genericGamma22Gray: NSColorSpace

Returns an NSColorSpace object representing a gray color space with a gamma value of 2.2.

class var extendedGenericGamma22Gray: NSColorSpace

Returns an NSColorSpace object representing an extended gray color space with a gamma value of 2.2.

class var adobeRGB1998: NSColorSpace

Returns an NSColorSpace object representing an Adobe RGB (1998) color space.