Skip to content

AndreyFetisov/UIColorExtension

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

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!

About

iOS Swift UIColorExtension

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 100.0%