问题描述
问题:颜色选择器没有选择准确的颜色.这是此处列出的相同问题:Interface Builder 的颜色选择器中的颜色错误
我试过了:
- 颜色选择器 -> 滑块旁边的齿轮按钮 -> 选择通用 RGB.
- 系统偏好设置 -> 显示 -> 颜色配置文件 -> 通用 RGB 配置文件.
- 禁用任何可能影响颜色配置文件的应用(Datacolor SpyderPro、Flux).
我已经看过这些问题了:
Interface Builder 的颜色选择器中的颜色错误
XCode Interface Builder 中的奇怪颜色?>
我已经尝试了他们的答案,但没有运气.
如果您一遍又一遍地更改 RGB 或 HEX 值,似乎 colorPicker 会将 colorProfile 更改为 sRGB.
但是如果您将配置文件更改为Apple RGB"并通过滑块选择所需的 RGB 值,配置文件将不会改变!我已经能够通过这种方式选择所需的颜色 - 希望它有所帮助...
(在某些情况下(不幸的是,我还无法重现)在输入 rgb 值期间不会更改配置文件)
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.
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)
这篇关于Xcode 6 beta 颜色选择器问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!