可可和Photoshop之间的颜色差异
我在界面生成器和可可中的颜色方面遇到一些问题。
我在 Photoshop 中构建界面,当我从 Photoshop 复制 RGB 值并在界面生成器中或通过代码设置 UI 元素时,颜色甚至不接近。我已经在 Photoshop 中设置了颜色配置文件,但似乎找不到一个有区别的(也许我只是使用错误)
任何人都可以帮忙了解如何设置 Photoshop 来更准确地描绘颜色可可使用?这就是我的意思:
我在界面生成器中创建了一个框并将其 RGB 设置为 50、100, 150,然后截图并粘贴到Photoshop中。然后我在 Photoshop 中创建了另一个框,并将其 RGB 值设置为 50、100、150。如果我对 IB 颜色进行采样,它的 RGB 值为 63、120、163。
I'm having some trouble with colors in interface builder and cocoa.
I build out my interface in photoshop, and when I copy the RGB values from photoshop and set my UI elements in interface builder, or through code, the colors are not even close. I've messed around with setting color profiles in photoshop but can't seem to find one that makes a difference (maybe I'm just using them wrong)
Can anyone lend a hand as to how to set photoshop to more accurately depict the colors used by cocoa? This is what I mean:
I created a box in interface builder and set its RGB to 50, 100, 150, then took a screenshot of it and pasted it into photoshop. Then I created another box in photoshop and set its rgb value to 50, 100, 150. If I sample the IB color, it's RGB comes out to 63, 120, 163.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在 Photoshop 中颜色设置选择工作空间
创建一个新的 Ps 文档,在“新建”对话框中打开“高级”选项卡,用于颜色配置文件:
在 Ps 查看菜单中,确保您没有启用“校样颜色”。
你应该可以走了。
In Photoshop colour settings choose a working space of
Create a new Ps document, in the 'new' dialogue box open up the 'Advanced' tab, for Color Profile:
In the Ps View menu make sure you don't have "Proof Colors" enabled.
You should be good to go.