Flat Colors UIColor extension

1
2
extension UIColor {
class func flatRed() -> UIColor{
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Some nice colors with simple access:

//Example:
myView.backgroundColor = UIColor.flatBlue()

//Color credit to Howard Smith
//Find the palette here: https://howardsmithdmd.wordpress.com/2014/12/16/development-realisation-assignment-influences-2/

3 Responses

Nice method, could you please add a link of the color palette just to see it?
@Kevin Rodríguez Good point, added a link!
@Timothy Krechel Nice, thanks!

Write a comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.