UIColor 中的色调和标准色轮
在 UIColor 中,绿色的色调约为 0.4 分,红色为 0 或 1,在标准色轮上,绿色与红色相反。还有其他例子。为什么 UIColor 不一样?
In UIColor, green is around the 0.4 mark in terms of hue, with red at 0 or 1, and on a standard color wheel, green is opposite red. There's other examples too. How come it's different in UIColor?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
有很多不同的色彩空间——我认为如果不提供更多的背景信息,很难将其中一个称为“标准”。我当然不是颜色方面的专家,但我猜你所说的差异可能是由于 RGB 和 RYB 或 CMYK 颜色模型之间的差异造成的。去油漆店,他们会告诉你三种原色是红、黄、蓝。显然,在计算机屏幕上,颜色由红色、绿色和蓝色子像素组成。
There are so many different color spaces -- I think it'd be hard to call one of them "standard" without providing a little more context. I'm certainly no expert on color, but I'd guess that the difference you're talking about is probably due to the difference between RGB and RYB or CMYK color models. Go to a paint store and they'll tell you that the three primary colors are red, yellow, and blue. On computer screens, obviously, colors are composed of red, green, and blue sub-pixels.