Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why does the same RGB value appear different between Interface Builder and Photoshop?

I have a UIImageView that I've pointed to a PNG who's background is RGB(240,240,240). I've then set the parent UIView's background to the same colour in Interface Builder.

You'll notice that they are slightly different. When I take a screenshot and re-examine, I see that the UIView's background in IB is not RGB(240,240,240), but RGB(236,236,236).

Why is this??

enter image description here

enter image description hereenter image description here

like image 437
barfoon Avatar asked Nov 14 '22 13:11

barfoon


1 Answers

Do you have a manufacturer specific monitor driver installed? Have a look at the monitor profile. Its probably different from the colour profile in photoshop

like image 172
Dave Harding Avatar answered Nov 16 '22 03:11

Dave Harding