Tag Archives: color

Hexcolor To UIColor in Swift

Hexcolor is commonly used id web development. This function will convert your Hexcolor to UIColor so you can use it in your app.

Use it like this:

It’s also can converted to CGColor:

Have fun with color 🙂

http://stackoverflow.com/questions/1560081/how-can-i-create-a-uicolor-from-a-hex-string