/UIColorExtension

iOS Swift UIColorExtension

Primary LanguageSwiftMIT LicenseMIT

UIColorExtension

iOS Swift UIColorExtension

With UIColorExtension you can access FlatUIColors & SocialColors with ease, also you can convert any HEX color into UIColor.

How to use? Just drag 'n drop UIColorExtension.swift file to your project.

HEX to UIColor

Example: self.view.backgroundColor = UIColor.colorWithHEXString("#9b59b6")

Available Colors:

Example: self.view.backgroundColor = UIColor.clouds()

#FlatUIColors

  • turquoise
  • emerald
  • peterRiver
  • amethyst
  • wetAsphalt
  • greenSea
  • nephritis
  • belizeHole
  • wisteria
  • midnightBlue
  • sunFlower
  • carrot
  • alizarin
  • clouds
  • concrete
  • orange
  • pumpkin
  • pomegranate
  • silver
  • asbestos

#SocialColors

  • facebook
  • twitter
  • googlePlus
  • linkedIn
  • vimeo
  • youtube
  • instagram
  • pinterest
  • flickr
  • yahoo
  • soundCloud
  • tumblr
  • foursquare
  • swarm
  • dribbble
  • reddit
  • devianArt
  • pocket
  • quora
  • slideShare
  • px500
  • listly
  • vine
  • skype
  • stumbleUpon
  • snapchat

FlatUIColors values taken from https://flatuicolors.com

Social Colors values taken from https://www.lockedowndesign.com/social-media-colors/

Feel free to contribute!