title: iOS navigation color doesn't match view color
body: <p><img src="https://i.stack.imgur.com/LMGea.png" alt="enter image description here"></p>
  
  <pre><code>// set the navigation style
  self.navigationController?.navigationBar.barTintColor = UIColor(red: 29.0/255.0, green: 202.0/255.0, blue: 255.0/255.0, alpha: 1)
  self.navigationController?.navigationBar.barStyle = UIBarStyle.Black
  
  // set the cancel button color to white
  cancel.tintColor = UIColor.whiteColor()
  
  // tweet and chars left (140) to white 
  tweet.tintColor = UIColor.whiteColor()
  charsLeftLabel.textColor = UIColor.whiteColor()
  
  // set the color of the view containing the above two buttons to the same color as the navigation
  view.backgroundColor = UIColor(red: 29.0/255.0, green: 202.0/255.0, blue: 255.0/255.0, alpha: 1)
  </code></pre>
  
  <p>the view in the navigation and the navigation itself have two different shades although I'm using the same UI Color shades</p>
  
  <p>Why is this happening?</p>