Type Property

green

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

Declaration

class var green: UIColor { get }

See Also

Creating a Color Object with a Predefined Color

class var black: UIColor

A color object in the sRGB color space whose grayscale value is 0.0 and whose alpha value is 1.0.

class var blue: UIColor

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

class var brown: UIColor

A color object whose RGB values are 0.6, 0.4, and 0.2 and whose alpha value is 1.0.

class var clear: UIColor

A color object whose grayscale and alpha values are both 0.0.

class var cyan: UIColor

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

class var darkGray: UIColor

A color object whose grayscale value is 1/3 and whose alpha value is 1.0.

class var gray: UIColor

A color object whose grayscale value is 0.5 and whose alpha value is 1.0.

class var lightGray: UIColor

A color object whose grayscale value is 2/3 and whose alpha value is 1.0.

class var magenta: UIColor

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

class var orange: UIColor

A color object whose RGB values are 1.0, 0.5, and 0.0 and whose alpha value is 1.0.

class var purple: UIColor

A color object whose RGB values are 0.5, 0.0, and 0.5 and whose alpha value is 1.0.

class var red: UIColor

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

class var white: UIColor

A color object whose grayscale value is 1.0 and whose alpha value is 1.0.

class var yellow: UIColor

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