title: Odd Conversion between UIColor and CGColor
body: <p>So here are the colors I am trying to convert from UIColor to CGColor:</p>
  
  <h1>001385 - R:0 G:19 B:133</h1>
  
  <h1>ca000b - R:202 G:0 B:11</h1>
  
  <p>Here is the Blue vs. iOS's rendering:
  a:<img src="https://i.stack.imgur.com/L0GM9.png" alt="enter image description here">
  b:<img src="https://i.stack.imgur.com/R2hgZ.png" alt="enter image description here"></p>
  
  <p>Here is the Red vs. iOS's rendering: a<img src="https://i.stack.imgur.com/isYPU.png" alt="&lt;code&gt;enter image description here&lt;/code&gt;"> b: <img src="https://i.stack.imgur.com/FMozC.png" alt="enter image description here"></p>
  
  <p>Here is the code I am using to convert the colors:
  Red:</p>
  
  <pre><code>[[UIColor colorWithRed:202 green:0 blue:11 alpha:1] CGColor]
  </code></pre>
  
  <p>Blue:</p>
  
  <pre><code>[[UIColor colorWithRed:0 green:19 blue:133 alpha:1] CGColor]
  </code></pre>
  
  <p>Does anyone know what I am doing wrong?</p>