title: Is Macro Better Than UIColor for Setting RGB Color?
body: <p>I have this macro in my header file:</p>
  
  <pre><code>#define UIColorFromRGB(rgbValue) \
          [UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 \
                          green:((float)((rgbValue & 0xFF00) >> 8))/255.0 \
                           blue:((float)(rgbValue & 0xFF))/255.0 \
                          alpha:1.0]</code></pre>
  
  <p>And I am using this as something like this in my .m file:</p>
  
  <pre><code>cell.textColor = UIColorFromRGB(0x663333);</code></pre>
  
  <p>So I want to ask everyone is this better or should I use this approach:</p>
  
  <pre><code>cell.textColor = [UIColor colorWithRed:66/255.0
                                   green:33/255.0
                                    blue:33/255.0
                                   alpha:1.0];</code></pre>
  
  <p>Which one is the better approach?</p>