Harmony
struct Harmony
A set of harmonized color schemes created from a base color.
-
Monochromatic color schemes use different values of the same color.
Declaration
Swift
public typealias Monochromatic = (UIColor, UIColor, UIColor, UIColor, UIColor)
-
Complementary color schemes use two opposite colors on the color wheel.
Declaration
Swift
public typealias Complementary = (UIColor, UIColor)
-
Split complements use a color and the two adjacent tertiary colors of its complement.
Declaration
Swift
public typealias SplitComplementary = (UIColor, UIColor, UIColor)
-
Analogous color schemes use three adjacent colors on the color wheel.
Declaration
Swift
public typealias Analogous = (UIColor, UIColor, UIColor)
-
Triadic color schemes use three evenly spaced colors on the color wheel.
Declaration
Swift
public typealias Triadic = (UIColor, UIColor, UIColor)
-
Tetradic color schemes use two complementary pairs in a rectangular pattern on the color wheel.
Declaration
Swift
public typealias Tetradic = (UIColor, UIColor, UIColor, UIColor)
-
Square color schemes use two evenly spaced complementary pairs on the color wheel.
Declaration
Swift
public typealias Square = (UIColor, UIColor, UIColor, UIColor)
-
The base color and two of its tints and shades. (tint50%, tint25%, base, shade25%, shade50%).
Declaration
Swift
public var monochromatic: Monochromatic { get }
-
The base color and the opposite color on the color wheel (base, hue+180).
Declaration
Swift
public var complementary: Complementary { get }
-
The base color and the two adjacent colors of the complement (base, hue+180-30, hue+180+30).
Declaration
Swift
public var splitComplementary: SplitComplementary { get }
-
The base color and the two adjacent colors (base, hue+30, hue-30).
Declaration
Swift
public var analogous: Analogous { get }
-
The base color and two evenly spaced colors (base, hue+120, hue-120).
Declaration
Swift
public var triadic: Triadic { get }
-
The base color and its complement (base, hue+180) and another complement pair (hue+60, hue+60+180).
Declaration
Swift
public var tetradic: Tetradic { get }
-
The base color and its complement (base, hue+180) and an evenly spaced complement pair (hue+90, hue+90+180).
Declaration
Swift
public var square: Square { get }