title: Color from nib color picker is different then [UIColor -colorWithRed:green:blue:alpha:]
body: <p>I've got a certain color that I'd like to use throughout my app. That color has got these RGBA values:</p>
  
  <p>R:217
  G:66
  B:60
  A:1.0</p>
  
  <p>Now, in some nibs I'm using this color as a background color via the color picker.
  In other cases, I'm using this code to set colors manually</p>
  
  <pre><code>[UIColor colorWithRed:217.f/255.f green:66.f/255.f blue:60.f/255.f alpha:1.0f];
  </code></pre>
  
  <p>However, I am finding that the colors do not match visually!!</p>
  
  <p><img src="https://i.stack.imgur.com/JZxaw.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/222n4.png" alt="enter image description here">
  What is going on? Why do the colors look so different?</p>
  
  <p>Printing out the colors gives me this:</p>
  
  <pre><code>(lldb) po [self.programticLabel backgroundColor]
  UIDeviceRGBColorSpace 0.85098 0.258824 0.235294 1
  
  (lldb) po [self.nibLabel backgroundColor]
  UIDeviceRGBColorSpace 0.805696 0.171843 0.181392 1
  </code></pre>