Convert RGB Values into UIColor
16 October 2013
Turning RGB Values into a useable UIColor is very simple. This one line function is all that you need.
#define RGB(R,G,B) [UIColor colorWithRed:R/255.0f
green:G/255.0f blue:B/255.0f alpha:1.0f]
Now, when you need to convert an RGB value, just do something like this.
RGB(100, 120, 140);