Creates a calibrated grayscale color space.
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
- Core Graphics
An array of 3 numbers specifying the tristimulus value, in the CIE 1931 XYZ-space, of the diffuse white point.
An array of 3 numbers specifying the tristimulus value, in CIE 1931 XYZ-space, of the diffuse black point.
The gamma value appropriate for the imaging device.
A new calibrated gray color space. You are responsible for releasing this object by calling
CGColor. If unsuccessful, returns
Creates a device-independent grayscale color space that represents colors relative to a reference white point. This white point is based on the whitest light that can be generated by the output device. Colors in a device-independent color space should appear the same when displayed on different devices, to the extent that the capabilities of the device allow.