Creates a color object from a Quartz color.
- iOS 5.0+
- macOS 10.4+
- Mac Catalyst 13.0+
- tvOS 9.0+
- Core Image
A Core Image color object that represents a Quartz color.
You can pass a
CGColor object that represents any color space, including CMYK. However, Core Image converts all color spaces to the Core Image working color space before it passes the color to the filter kernel. The Core Image working color space uses three color components plus alpha.