Last active
September 4, 2018 09:56
-
-
Save mhennemeyer/177b6c9d8fc9cde4e7d7b11b51b7be6b to your computer and use it in GitHub Desktop.
UIColor Crayons Extension Swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// UIColor+Crayons.swift | |
// Created by Matthias Hennemeyer | |
// | |
import Foundation | |
import UIKit | |
extension UIColor { | |
static let cantaloupe = UIColor.init(red:255.0/255.0, green:206.0/255.0, blue:110.0/255.0, alpha:1) | |
static let honeydew = UIColor.init(red:206.0/255.0, green:250.0/255.0, blue:110.0/255.0, alpha:1) | |
static let spindrift = UIColor.init(red:104.0/255.0, green:251.0/255.0, blue:208.0/255.0, alpha:1) | |
static let sky = UIColor.init(red:106.0/255.0, green:207.0/255.0, blue:255.0/255.0, alpha:1) | |
static let lavender = UIColor.init(red:210.0/255.0, green:120.0/255.0, blue:255.0/255.0, alpha:1) | |
static let carnation = UIColor.init(red:255.0/255.0, green:127.0/255.0, blue:211.0/255.0, alpha:1) | |
static let licorice = UIColor.init(red:0.0/255.0, green:0.0/255.0, blue:0.0/255.0, alpha:1) | |
static let snow = UIColor.init(red:255.0/255.0, green:255.0/255.0, blue:255.0/255.0, alpha:1) | |
static let salmon = UIColor.init(red:255.0/255.0, green:114.0/255.0, blue:110.0/255.0, alpha:1) | |
static let banana = UIColor.init(red:255.0/255.0, green:251.0/255.0, blue:109.0/255.0, alpha:1) | |
static let flora = UIColor.init(red:104.0/255.0, green:249.0/255.0, blue:110.0/255.0, alpha:1) | |
static let ice = UIColor.init(red:104.0/255.0, green:253.0/255.0, blue:255.0/255.0, alpha:1) | |
static let orchid = UIColor.init(red:110.0/255.0, green:118.0/255.0, blue:255.0/255.0, alpha:1) | |
static let bubblegum = UIColor.init(red:255.0/255.0, green:122.0/255.0, blue:255.0/255.0, alpha:1) | |
static let lead = UIColor.init(red:30.0/255.0, green:30.0/255.0, blue:30.0/255.0, alpha:1) | |
static let mercury = UIColor.init(red:232.0/255.0, green:232.0/255.0, blue:232.0/255.0, alpha:1) | |
static let tangerine = UIColor.init(red:255.0/255.0, green:136.0/255.0, blue:2.0/255.0, alpha:1) | |
static let lime = UIColor.init(red:131.0/255.0, green:249.0/255.0, blue:2.0/255.0, alpha:1) | |
static let seaFoam = UIColor.init(red:3.0/255.0, green:249.0/255.0, blue:135.0/255.0, alpha:1) | |
static let aqua = UIColor.init(red:0.0/255.0, green:140.0/255.0, blue:255.0/255.0, alpha:1) | |
static let grape = UIColor.init(red:137.0/255.0, green:49.0/255.0, blue:255.0/255.0, alpha:1) | |
static let strawberry = UIColor.init(red:255.0/255.0, green:41.0/255.0, blue:135.0/255.0, alpha:1) | |
static let tungsten = UIColor.init(red:58.0/255.0, green:58.0/255.0, blue:58.0/255.0, alpha:1) | |
static let silver = UIColor.init(red:208.0/255.0, green:208.0/255.0, blue:208.0/255.0, alpha:1) | |
static let maraschino = UIColor.init(red:255.0/255.0, green:33.0/255.0, blue:1.0/255.0, alpha:1) | |
static let lemon = UIColor.init(red:255.0/255.0, green:250.0/255.0, blue:3.0/255.0, alpha:1) | |
static let spring = UIColor.init(red:5.0/255.0, green:248.0/255.0, blue:2.0/255.0, alpha:1) | |
static let turquoise = UIColor.init(red:0.0/255.0, green:253.0/255.0, blue:255.0/255.0, alpha:1) | |
static let blueberry = UIColor.init(red:0.0/255.0, green:46.0/255.0, blue:255.0/255.0, alpha:1) | |
static let magenta = UIColor.init(red:255.0/255.0, green:57.0/255.0, blue:255.0/255.0, alpha:1) | |
static let iron = UIColor.init(red:84.0/255.0, green:84.0/255.0, blue:83.0/255.0, alpha:1) | |
static let magnesium = UIColor.init(red:184.0/255.0, green:184.0/255.0, blue:184.0/255.0, alpha:1) | |
static let mocha = UIColor.init(red:137.0/255.0, green:72.0/255.0, blue:0.0/255.0, alpha:1) | |
static let fern = UIColor.init(red:69.0/255.0, green:132.0/255.0, blue:1.0/255.0, alpha:1) | |
static let moss = UIColor.init(red:1.0/255.0, green:132.0/255.0, blue:72.0/255.0, alpha:1) | |
static let ocean = UIColor.init(red:0.0/255.0, green:74.0/255.0, blue:136.0/255.0, alpha:1) | |
static let eggplant = UIColor.init(red:73.0/255.0, green:26.0/255.0, blue:136.0/255.0, alpha:1) | |
static let maroon = UIColor.init(red:137.0/255.0, green:22.0/255.0, blue:72.0/255.0, alpha:1) | |
static let steel = UIColor.init(red:110.0/255.0, green:110.0/255.0, blue:110.0/255.0, alpha:1) | |
static let aluminum = UIColor.init(red:160.0/255.0, green:159.0/255.0, blue:160.0/255.0, alpha:1) | |
static let cayenne = UIColor.init(red:137.0/255.0, green:17.0/255.0, blue:0.0/255.0, alpha:1) | |
static let aspargus = UIColor.init(red:136.0/255.0, green:133.0/255.0, blue:1.0/255.0, alpha:1) | |
static let clover = UIColor.init(red:2.0/255.0, green:132.0/255.0, blue:1.0/255.0, alpha:1) | |
static let teal = UIColor.init(red:0.0/255.0, green:134.0/255.0, blue:136.0/255.0, alpha:1) | |
static let midnight = UIColor.init(red:0.0/255.0, green:24.0/255.0, blue:136.0/255.0, alpha:1) | |
static let plum = UIColor.init(red:137.0/255.0, green:30.0/255.0, blue:136.0/255.0, alpha:1) | |
static let tin = UIColor.init(red:135.0/255.0, green:134.0/255.0, blue:135.0/255.0, alpha:1) | |
static let nickel = UIColor.init(red:136.0/255.0, green:135.0/255.0, blue:135.0/255.0, alpha:1) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment