Type Property

purple

A color object with RGB values of 0.5, 0.0, and 0.5 and an alpha value of 1.0.

Declaration

class var purple: UIColor { get }

See Also

Fixed Colors

class var black: UIColor

A color object in the sRGB color space with a grayscale value of 0.0 and an alpha value of 1.0.

class var blue: UIColor

A color object with RGB values of 0.0, 0.0, and 1.0 and an alpha value of 1.0.

class var brown: UIColor

A color object with RGB values of 0.6, 0.4, and 0.2 and an alpha value of 1.0.

class var cyan: UIColor

A color object with RGB values of 0.0, 1.0, and 1.0 and an alpha value of 1.0.

class var darkGray: UIColor

A color object with a grayscale value of 1/3 and an alpha value of 1.0.

class var gray: UIColor

A color object with a grayscale value of 0.5 and an alpha value of 1.0.

class var green: UIColor

A color object with RGB values of 0.0, 1.0, and 0.0 and an alpha value of 1.0.

class var lightGray: UIColor

A color object with a grayscale value of 2/3 and an alpha value of 1.0.

class var magenta: UIColor

A color object with RGB values of 1.0, 0.0, and 1.0 and an alpha value of 1.0.

class var orange: UIColor

A color object with RGB values of 1.0, 0.5, and 0.0 and an alpha value of 1.0.

class var red: UIColor

A color object with RGB values of 1.0, 0.0, and 0.0 and an alpha value of 1.0.

class var white: UIColor

A color object with a grayscale value of 1.0 and an alpha value of 1.0.

class var yellow: UIColor

A color object with RGB values of 1.0, 1.0, and 0.0 and an alpha value of 1.0.