From http://cocoamatic.blogspot.com/2010/07/uicolor-macro-with-hex-values.html