Convert Haxstring to RGB color

-(UIColor*)colorWithHexString:(NSString*)hexaColor { NSString *cString = [[hexaColor stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]] uppercaseString]; if([cString length] < 6) return [UIColor grayColor]; if([cString hasPrefix:@”0X”]) cString = … More