Color differences between cocoa and photoshop

I'm having problems with colors in the interface constructor and cocoa.

I create my interface in Photoshop, and when I copy the RGB values ​​from Photoshop and set the interface elements in the interface constructor or through the code, the colors are not even close. I messed up setting up color profiles in Photoshop, but can't find what matters (maybe I'm just using them incorrectly)

Can someone help in setting up Photoshop to more accurately display the colors used by cocoa? Here is what I mean:

enter image description here

I created a field in the interface builder and set its RGB to 50, 100, 150, then took a screenshot and embedded it in Photoshop. Then I created another box in Photoshop and set its rgb value to 50, 100, 150. If I tried the IB color, then RGB will go out to 63, 120, 163.

+7
colors cocoa macos photoshop
source share
1 answer

In Photoshop color settings, select a workspace

ColorSync RGB - General RGB Profile

Create a new Ps document, in the "new" dialog box, click on the "Advanced" tab for "Color Profile":

Generic RGB Profile

On the Ps View menu, make sure you do not have any colors allowed.

You must be kind.

+7
source share

All Articles