C# 颜色常数 R、G、B 值
在哪里可以找到所有 C# 颜色常量和关联的 R、G、B(红、绿、蓝)值的列表?
例如
Color.White == (255,255,255)
Color.Black == (0,0,0)
等等...
Where can I find a list of all the C# Color constants and the associated R,G,B (Red, Green, Blue) values?
e.g.
Color.White == (255,255,255)
Color.Black == (0,0,0)
etc...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
运行该程序:
或者:
Run this program:
Or alternatively:
看起来这个页面包含了所有这些。
It looks like this page has all of them.
MSDN 链接
通过 MSDN 按名称/十六进制显示颜色
MSDN link
Colors by name/hex via MSDN