skip to Main Content

enter image description here

The image on the left comes from Xcode, while the image right is from Photoshop. Both colors are inputted using the same RGB value, but as you can see, the colors show up differently when displayed.

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

I was wondering if there is a fix to “brighten up” the colors in XCode so I can get exactly the colors I am looking at when using the RGB coordinates. Thanks!

Edit:

I have tried manually entering the RGB coordinates from using the DigitalColor Meter into Xcode, and even then the colors do not appear as the same when put in a side-by-side comparison.

Edit 2

When I use “Adobe RGB” in the DigitalColor Meter, this is the result. As you can see, the colors still do not match.

enter image description here

3

Answers


  1. Photoshop tries to use a “color correct” color profile for your monitor. You can change what color profile it uses by going to “View > Proof Setup” and either selecting one of those, or clicking on “Custom” to get a full list of the color profiles on your computer. If you’re trying to match Xcode, which is using the default profile, you should look for one like “Monitor RGB” or “Apple RGB”. In the “custom” menu, there’s also an option to “preserve RGB numbers” which I imagine will help.

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

    Login or Signup to reply.
  2. When you are using the Digital Color Meter, select “Display in Adobe RGB” to give you the proper color code to use when selecting colors in Photoshop.

    Login or Signup to reply.
  3. I found out that in the color picker in Xcode is a settings button and there you can pick up a color profile. Default is Generic RGB, so I choose sRGB IEC6… and it worked fine for me.

    enter image description here

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search