Type Property

sRGB

Returns an NSColorSpace object representing an sRGB color space.

Declaration

class var sRGB: NSColorSpace { get }

Return Value

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

Discussion

The sRGB color space is a standard color space for use on monitors, printers, and the Internet. For further information on sRGB, see http://www.color.org/srgb.html.

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 extendedSRGB: NSColorSpace

Returns an NSColorSpace object representing an extended sRGB color space.

class var displayP3: NSColorSpace

Returns an NSColorSpace object representing a P3 Display 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.