MixingModel
enum MixingModel
A model that describes how colors are mixed together to form all other colors.
-
A mixing model that leads to the RGB color model with primary colors of red, green, and blue. The absence of color is black, and the presence of all three primary colors is white. Colors are added from black to form white. Additive color mixing simulates light.
Declaration
Swift
case additive
-
A mixing model that leads to the CMYK color model with primary colors of cyan, magenta, and yellow. The absence of color is white, and the presence of all three primary colors is black. Colors are subtracted from black to form white. Subtractive color mixing simulates print.
Declaration
Swift
case subtractive
-
A mixing model that leads to the RYB color model with primary colors of red, yellow, and blue. The absence of color is white, and the presence of all three primary colors is black. Traditional color mixing simulates paint.
Declaration
Swift
case traditional
-
The primary colors of the mixing model.
Declaration
Swift
public var primaryColors: (UIColor, UIColor, UIColor) { get }
-
The secondary colors of the mixing model.
Declaration
Swift
public var secondaryColors: (UIColor, UIColor, UIColor) { get }
-
The tertiary colors of the mixing model, created by mixing the primary colors with the secondary colors.
Declaration
Swift
public var tertiaryColors: (UIColor, UIColor, UIColor, UIColor, UIColor, UIColor)
-
The primary, secondary, and tertiary colors of the mixing model, together forming a complete color wheel.
Declaration
Swift
public var colorWheel: (UIColor, UIColor, UIColor, UIColor, UIColor, UIColor, UIColor, UIColor, UIColor, UIColor, UIColor, UIColor)