Carto

public enum Carto

Sequential and diverging color scales adapted from CartoCOLORS.

Sequential

  • Sequential color scale.

    Note

    Original name is Burg.

    Declaration

    Swift

    public static let burgundy: ColorScale
  • Sequential color scale.

    Note

    Original name is BurgYl.

    Declaration

    Swift

    public static let yellowBurgundy: ColorScale
  • Sequential color scale.

    Note

    Original name is RedOr.

    Declaration

    Swift

    public static let orangeRed: ColorScale
  • Sequential color scale.

    Note

    Original name is OrYel.

    Declaration

    Swift

    public static let yellowOrange: ColorScale
  • Sequential color scale.

    Note

    Original name is Peach.

    Declaration

    Swift

    public static let peach: ColorScale
  • Sequential color scale.

    Note

    Original name is PinkYl.

    Declaration

    Swift

    public static let yellowPink: ColorScale
  • Sequential color scale.

    Note

    Original name is Mint.

    Declaration

    Swift

    public static let mint: ColorScale
  • Note

    Original name is BluGrn.

    Declaration

    Swift

    public static let greenBlue: ColorScale
  • Sequential color scale.

    Note

    Original name is DarkMint.

    Declaration

    Swift

    public static let darkMint: ColorScale
  • Sequential color scale.

    Note

    Original name is Emrld.

    Declaration

    Swift

    public static let emerald: ColorScale
  • Sequential color scale.

    Note

    Original name is BluYl.

    Declaration

    Swift

    public static let yellowBlue: ColorScale
  • Sequential color scale.

    Note

    Original name is Teal.

    Declaration

    Swift

    public static let teal: ColorScale
  • Sequential color scale.

    Note

    Original name is TealGrn.

    Declaration

    Swift

    public static let greenTeal: ColorScale
  • Sequential color scale.

    Note

    Original name is Purp.

    Declaration

    Swift

    public static let purple: ColorScale
  • Sequential color scale.

    Note

    Original name is PurpOr.

    Declaration

    Swift

    public static let orangePurple: ColorScale
  • Sequential color scale.

    Note

    Original name is Sunset.

    Declaration

    Swift

    public static let sunset: ColorScale
  • Sequential color scale.

    Note

    Original name is Magenta.

    Declaration

    Swift

    public static let magenta: ColorScale
  • Sequential color scale.

    Note

    Original name is SunsetDark.

    Declaration

    Swift

    public static let sunsetDark: ColorScale
  • Sequential color scale.

    Note

    Original name is BrwnYl.

    Declaration

    Swift

    public static let yellowBrown: ColorScale

Diverging

  • Diverging color scale.

    Note

    Original name is ArmyRose.

    Declaration

    Swift

    public static let armyRose: ColorScale
  • Diverging color scale.

    Note

    Original name is Fall.

    Declaration

    Swift

    public static let fall: ColorScale
  • Diverging color scale.

    Note

    Original name is Geyser.

    Declaration

    Swift

    public static let geyser: ColorScale
  • Diverging color scale.

    Note

    Original name is Temps.

    Declaration

    Swift

    public static let temps: ColorScale
  • Diverging color scale.

    Note

    Original name is TealRose.

    Declaration

    Swift

    public static let tealRose: ColorScale
  • Diverging color scale.

    Note

    Original name is Tropic.

    Declaration

    Swift

    public static let tropic: ColorScale
  • Diverging color scale.

    Note

    Original name is Earth.

    Declaration

    Swift

    public static let earth: ColorScale
  • Creates a figure that shows all Carto color scales next to each other.

    Declaration

    Swift

    public static func swatch() -> Figure