Possible Duplicate:
How can I create a UIColor from a hex string?
I want to programmatically set the color of the UIView Background.
It doesn’t seem like I can do it through Interfacebuilder. How should I do it if I want to set it to some hex code color?
I like to use this little piece of code to use HTML web colors in my apps.
Usage:
The Code: