Vikram Vikram - 7 months ago 83
iOS Question

XCode Color Discrepancy

Xcode seems to be displaying two colors for the same RGB, Hex code, and opacity. Screenshot of color picker and button attached below: the left and right are slightly differing colors. Why is this discrepancy happening?

RGB: (211, 84, 63)

Hex: D3543F


I had a recent case like this on OSX. One of the colors was in the NSCalibratedRGB color space, and the other was in the device color space. Not sure how you'd get a calibrated color into the color picker's recently-used list, but that could be it. The RGB values in the color picker will be the same, but the cooor meter will show them as different.