- UIColor-Helper is a useful and light color tool for iOS.
Functions:
+ (UIColor *)colorWithColorCodeString:(NSString *)colorString;
+ (UIColor *)colorWithARGB:(NSUInteger)color;
+ (UIColor *)colorWithRGB:(NSUInteger)color;
+ (UIColor *)colorWithRGBA:(NSUInteger)color;
+ (UIColor *)colorWithRGBWithString:(NSString *)colorString;
The most common use way:
#import "UIColor+Helper.h"
#define ErrorRedColor @"EF4257"
[UIColor colorWithColorCodeString:ErrorRedColor];