#define HEXCOLOR(c) [UIColor colorWithRed:((c>>24)&0xFF)/255.0 \
green:((c>>16)&0xFF)/255.0 \
blue:((c>>8)&0xFF)/255.0 \
alpha:((c)&0xFF)/255.0]
Usage: UIColor *c = HEXCOLOR(0xff0000);.
If you want a macro for RGB (above is for RGBA), replace alpha: with alpha:1.0.
Courtesy of this thread.
The Hex/HTML Color (RGBA, RGB) to UIColor article by Aral Balkan, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-Noncommercial 2.0 UK: England License.

And here I was so hoping for a HTML or Flash widget that would convert for me…
Shouldn’t it be UIColor *c = HEXCOLOR(0xff0000ff); ?
Any Way very nice workaround, thanks Aral :)