Xcode makes the color a few shades darker, despite using the same RGB

enter image description here

The image on the left is from Xcode, and the image on the right is from Photoshop. Both colors are entered using the same RGB value, but as you can see, the colors are displayed differently when displayed.

Using Apple’s own DigitalColor Meter, Xcode RGB(133, 179 185) and Photoshop is RGB(149, 192, 197) ; and the yellow color of Xcode is RGB(227, 205, 102) and the yellow is RGB(233, 212, 119) Photoshop, so there is no set increment that can be applied to any color.

I was wondering if there is a fix to “brighten” the colors in Xcode so that I can get exactly the colors that I see when using RGB coordinates. Thanks!

Edit:

I tried to manually enter the RGB coordinates using the DigitalColor Meter in Xcode, and even then the colors do not display as the same when compared with each other. p>

Edit 2

When I use "Adobe RGB" in DigitalColor Meter, this is the result. As you can see, the colors still don't match.

enter image description here

+8
colors xcode xcode5
source share
3 answers

Photoshop is trying to use a “color” color profile for your monitor. You can change which color profile it uses by going to "View"> "Check Rights" and selecting one of them or clicking on "Custom" to get a complete list of color profiles on your computer. If you are trying to map to Xcode that uses the default profile, you should look for one, for example, “Monitor RGB” or “Apple RGB”. In the "normal" menu there is an option to "save RGB numbers", which, it seems to me, will help.

This comes primarily from Windows, so I'm sorry if it doesn't apply here.

+3
source share

When using a digital color meter, select “Display in Adobe RGB” to give you the correct color code to use when choosing colors in Photoshop.

+3
source share

I found out that in the color picker in Xcode there is a settings button, and there you can select a color profile. Generic RGB is used by default, so I select sRGB IEC6 ... and it works fine for me.

enter image description here

+1
source share

All Articles