Type Property

yellow

Returns a color object whose RGB values are 1.0, 1.0, and 0.0 and whose alpha value is 1.0.

Declaration

class var yellow: CIColor { get }

Return Value

The color object in the sRGB colorspace.

See Also

Creating a CIColor Object with Preset Components

class var black: CIColor

Returns a color object whose RGB values are all 0.0 and whose alpha value is 1.0.

class var blue: CIColor

Returns a color object whose RGB values are 0.0, 0.0, and 1.0 and whose alpha value is 1.0.

class var clear: CIColor

Returns a color object whose RGB and alpha values are all 0.0.

class var cyan: CIColor

Returns a color object whose RGB values are 0.0, 1.0, and 1.0 and whose alpha value is 1.0.

class var gray: CIColor

Returns a color object whose RGB values are all 0.5 and whose alpha value is 1.0.

class var green: CIColor

Returns a color object whose RGB values are 0.0, 1.0, and 0.0 and whose alpha value is 1.0.

class var magenta: CIColor

Returns a color object whose RGB values are 1.0, 0.0, and 1.0 and whose alpha value is 1.0.

class var red: CIColor

Returns a color object whose RGB values are 1.0, 0.0, and 0.0 and whose alpha value is 1.0.

class var white: CIColor

Returns a color object whose RGB values are all 1.0 and whose alpha value is 1.0.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software