title: iOS renders table view cell background colors differently from button image colors, resulting in very differing shades of the same color
body: <hr>
  
  <p>Update: this is not something specific to my app, I just re-created it with an Xcode template app. Its something iOS is doing - its rendering the cell and the button differently, resulting in them appearing with differing shades. Example project: <a href="https://www.dropbox.com/sh/j7eexzihs6swl3u/AAAuAzMVUKxzCkgPYsMaIYyHa?dl=0" rel="nofollow noreferrer">https://www.dropbox.com/sh/j7eexzihs6swl3u/AAAuAzMVUKxzCkgPYsMaIYyHa?dl=0</a> </p>
  
  <p>I ran the project on the phone, took a screenshot then sampled the colors in Photoshop - the cell background comes out as 494a49 and the button comes out as 383938. So the color of the table view cell is being drastically altered.</p>
  
  <hr>
  
  <p>I've got button with an image placed within in a cell of a table view. 
  The cell content view background color is set to Ox383938 and the color of the background image set in the button is also 0x383938, yet they look very different:</p>
  
  <p><a href="https://i.stack.imgur.com/kdMX1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kdMX1.png" alt="enter image description here"></a></p>
  
  <p>Why is there such a difference in these two shades of gray? </p>
  
  <p>The cell's grey is much paler, as it has an alpha of 0.7 or something while the button has an alpha of 1.0. But this is not the case - these are just a regular button and regular table view &amp; cell dragged and dropped into the storyboard and nothing about them has been altered, nothing changed in the Storyboard settings etc. (other than the cell background color).</p>
  
  <p>Whatever is making the cell paler than the image in the button has not been set by me, if its some default value in an image or button or row or table view then what and where is it and how can I make the cell background and button image the same shade exactly?</p>