0

I create a UIView with a hex UIColor of #30CDD7 but when I check the screenshot of my screen in picker it shows #34d5df

This is the screenshot where I set the UIColor of the UIView

enter image description here

And this is the screenshot of the UIViewController of my app where the view is in

enter image description here

It all occurred in all of my UIViewController

Our designer was complaining because of the wrong colour.

Is there's a way to handle it?

I use swift if it needs a code to fix it.

Dylan
  • 1,121
  • 1
  • 13
  • 28
  • As far as I know that, in the screenshot the color value will be different. If you have simulator screenshot, or device screenshot are having differ color. – Sumeet Mourya May 11 '20 at 10:34
  • I guess its a dupplicate of https://stackoverflow.com/questions/30788942/matching-xcode-color-space-with-digital-color-meter – MohyG May 11 '20 at 10:46
  • Most likely differences in Color Spaces, interface builder is using sRBG – dakota May 11 '20 at 10:49
  • @MohyG both question and answer are focused on Digital Color Meter, my question was in any color picker, like photoshop or chrome color picker extensions – Dylan May 11 '20 at 12:41
  • @dakota is there a fix in it? – Dylan May 11 '20 at 12:42
  • Whichever color picker you're using, try to change color profile to match Xcode one (on your screenshot its that grey gear icon next to the "RGB Sliders") – dakota May 11 '20 at 13:16

0 Answers0