Xcode color space matching with digital color indicator

In Xcode Interface Builder, I use Digital Color Meter to find the color code of an element like this:

http://i.imgur.com/SFsKoG0.png

The values ​​for (R,G,B)

are equal (255,172,40)

.

Then I select the label to set with color. I am doing the following:

http://i.imgur.com/xGbIV9o.png

However, now when I use the Digital Color Meter to detect the new assigned color, I find instead (255,172,40)

, I get (253,156,32)

.

[same domain as above]/X4yN4qw.png

(unfortunately I don't have enough reputation to post another link)

How can I match the color of both elements?

+3


source to share


1 answer


In Digital Color Meter, make sure Display in Generic RGB is set in the drop-down menu. If you are using Interface Builder, set the color to display in sRGB.



0


source







All Articles