ColorPalette
public protocol ColorPalette : Color, DarkenColorSet, LightenColorSet
ColorPalette
represents base color with set of lighter and darker colors of base, total 5 colors (shades and tints) are represented by ColorPalette
.
-
darken1
Extension methodDefault darker by 0.25 of base color.
Declaration
Swift
static var darken1: UIColor { get }
-
darken2
Extension methodDefault darker by 0.50 of base color.
Declaration
Swift
static var darken2: UIColor { get }
-
lighten1
Extension methodDefault lighter by 0.25 of base color.
Declaration
Swift
static var lighten1: UIColor { get }
-
lighten2
Extension methodDefault ligher by 0.50 of base color.
Declaration
Swift
static var lighten2: UIColor { get }