Skip to content

Instantly share code, notes, and snippets.

@mattyoung
Created January 5, 2023 15:42
Show Gist options
  • Save mattyoung/49bbf6512df275647837f241ba3029fc to your computer and use it in GitHub Desktop.
Save mattyoung/49bbf6512df275647837f241ba3029fc to your computer and use it in GitHub Desktop.
extension Color {
// Rainbow colors
static let rainbowBlue = Color(red: 30 / 255, green: 158 / 255, blue: 221 / 255)
static let rainbowGraphite = Color(red: 92 / 255, green: 92 / 255, blue: 92 / 255)
static let rainbowOrange = Color(red: 240 / 255, green: 132 / 255, blue: 4 / 255)
static let rainbowPacificBlue = Color(red: 54 / 255, green: 82 / 255, blue: 97 / 255)
static let rainbowPurple = Color(red: 146 / 255, green: 61 / 255, blue: 158 / 255)
//
static let rainbowRed = Color(red: 216 / 255, green: 61 / 255, blue: 56 / 255)
static let rainbowSilver = Color(red: 204 / 255, green: 204 / 255, blue: 204 / 255)
static let rainbowTeal = Color(red: 18 / 255, green: 94 / 255, blue: 107 / 255)
static let rainbowYellow = Color(red: 250 / 255, green: 183 / 255, blue: 3 / 255)
// Background colors
static let backgroundBlue = Color(red: 217 / 255, green: 250 / 255, blue: 252 / 255)
static let backgroundGreen = Color(red: 225 / 255, green: 225 / 255, blue: 225 / 255)
static let backgroundOrange = Color(red: 253 / 255, green: 222 / 255, blue: 199 / 255)
static let backgroundYellow = Color(red: 255 / 255, green: 250 / 255, blue: 189 / 255)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment