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 method

    Default darker by 0.25 of base color.

    Declaration

    Swift

    static var darken1: UIColor { get }
  • darken2 Extension method

    Default darker by 0.50 of base color.

    Declaration

    Swift

    static var darken2: UIColor { get }
  • lighten1 Extension method

    Default lighter by 0.25 of base color.

    Declaration

    Swift

    static var lighten1: UIColor { get }
  • lighten2 Extension method

    Default ligher by 0.50 of base color.

    Declaration

    Swift

    static var lighten2: UIColor { get }