Type Property

magenta

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

Declaration

class var magenta: 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 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 purple: UIColor

A color object with RGB values of 0.5, 0.0, and 0.5, 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.

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