问题
Problem: The color picker isn't picking up the exact color. This is the same problem listed here: Wrong color in Interface Builder's color picker
I've tried:
- Color picker -> gear button next to sliders -> select Generic RGB.
- System Preferences -> Displays -> Color Profile -> Generic RGB Profile.
- Disabled any apps that may affect color profile (Datacolor SpyderPro, Flux).
I've looked at these questions already:
Wrong color in Interface Builder's color picker
Weird colors in XCode Interface Builder?
Wrong color in Interface Builder
I've tried their answers and no luck.
回答1:
It seems like the colorPicker is changing the colorProfile to sRGB if you change the RGB or the HEX-Values over and over again.
BUT if you change the profile to "Apple RGB" and choose the desired RGB-Values via the slider the profile will not change! I have been able to select the needed color this way - hope it helps...
(under some circumstances (which I unfortunately cannot reproduce yet) the profile will not be changed during entering the rgb-value)
来源:https://stackoverflow.com/questions/25467164/xcode-6-beta-color-picker-issue