With this category it is easy to handle HEX and RGB Colors within the UIColor and NSColor class (iOS and OSX).
UIColor *colorWithHex = [UIColor colorWithHexString:@"#ff8942" alpha:1];It's really easy. Instead of recalculating HEX colors to RGB use this little category like a boss!
#import HexColors.hwhere you want to use the HEX Categoriespod install HexColors- or just drag the source files in your project