Created
May 15, 2014 09:16
-
-
Save jeremiegirault/30e1fa2bef5a64952453 to your computer and use it in GitHub Desktop.
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
// usage : HEX(0xB5C5D2) | |
#define HEX(hex) [UIColor colorWithRed:(((hex) >> 16)&0x000000FF)/255.0 green:(((hex) >> 8)&0x000000FF)/255.0 blue:((hex)&0x000000FF)/255.0 alpha:1.0] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment