RGB
public struct RGB
The colors that define the RGB color wheel.
-
#ffffff,rgb(255,255,255)Declaration
Swift
public static let white: UIColor -
#000000,rgb(0,0,0)Declaration
Swift
public static let black: UIColor -
#ff0000,rgb(255,0,0)Declaration
Swift
public static let red: UIColor -
#00ff00,rgb(0,255,0)Declaration
Swift
public static let green: UIColor -
#0000ff,rgb(0,0,255)Declaration
Swift
public static let blue: UIColor -
#00ffff,rgb(0,255,255)Declaration
Swift
public static let cyan: UIColor -
#ff00ff,rgb(255,0,255)Declaration
Swift
public static let magenta: UIColor -
#ffff00,rgb(255,255,0)Declaration
Swift
public static let yellow: UIColor -
#0080ff,rgb(0,128,255)Declaration
Swift
public static let azure: UIColor -
#8000ff,rgb(128,0,255)Declaration
Swift
public static let violet: UIColor -
#ff0080,rgb(255,0,128)Declaration
Swift
public static let rose: UIColor -
#ff8000,rgb(255,128,0)Declaration
Swift
public static let orange: UIColor -
#80ff00,rgb(128,255,0)Declaration
Swift
public static let chartreuse: UIColor -
#00ff80,rgb(0,255,128)Declaration
Swift
public static let springGreen: UIColor
View on GitHub
RGB Structure Reference