System.Drawing.Color的颜色对照表

经常使用System.Drawing.Color, 本篇介绍一下颜色与名称及RGB值的对应关系。

1. 颜色与名称的对照表(点击下放大看):

2. 颜色与RGB值对照表:

Color.AliceBlue
240,248,255
Color.LightSalmon
255,160,122
Color.AntiqueWhite
250,235,215
Color.LightSeaGreen
32,178,170
Color.Aqua
0,255,255
Color.LightSkyBlue
135,206,250
Color.Aquamarine
127,255,212
Color.LightSlateGray
119,136,153
Color.Azure
240,255,255
Color.LightSteelBlue
176,196,222
Color.Beige
245,245,220
Color.LightYellow
255,255,224
Color.Bisque
255,228,196
Color.Lime
0,255,0
Color.Black
0,0,0
Color.LimeGreen
50,205,50
Color.BlanchedAlmond
255,255,205
Color.Linen
250,240,230
Color.Blue
0,0,255
Color.Magenta
255,0,255
Color.BlueViolet
138,43,226
Color.Maroon
128,0,0
Color.Brown
165,42,42
Color.MediumAquamarine
102,205,170
Color.BurlyWood
222,184,135
Color.MediumBlue
0,0,205
Color.CadetBlue
95,158,160
Color.MediumOrchid
186,85,211
Color.Chartreuse
127,255,0
Color.MediumPurple
147,112,219
Color.Chocolate
210,105,30
Color.MediumSeaGreen
60,179,113
Color.Coral
255,127,80
Color.MediumSlateBlue
123,104,238
Color.CornflowerBlue
100,149,237
Color.MediumSpringGreen
0,250,154
Color.Cornsilk
255,248,220
Color.MediumTurquoise
72,209,204
Color.Crimson
220,20,60
Color.MediumVioletRed
199,21,112
Color.Cyan
0,255,255
Color.MidnightBlue
25,25,112
Color.DarkBlue
0,0,139
Color.MintCream
245,255,250
Color.DarkCyan
0,139,139
Color.MistyRose
255,228,225
Color.DarkGoldenrod
184,134,11
Color.Moccasin
255,228,181
Color.DarkGray
169,169,169
Color.NavajoWhite
255,222,173
Color.DarkGreen
0,100,0
Color.Navy
0,0,128
Color.DarkKhaki
189,183,107
Color.OldLace
253,245,230
Color.DarkMagena
139,0,139
Color.Olive
128,128,0
Color.DarkOliveGreen
85,107,47
Color.OliveDrab
107,142,45
Color.DarkOrange
255,140,0
Color.Orange
255,165,0
Color.DarkOrchid
153,50,204
Color.OrangeRed
255,69,0
Color.DarkRed
139,0,0
Color.Orchid
218,112,214
Color.DarkSalmon
233,150,122
Color.PaleGoldenrod
238,232,170
Color.DarkSeaGreen
143,188,143
Color.PaleGreen
152,251,152
Color.DarkSlateBlue
72,61,139
Color.PaleTurquoise
175,238,238
Color.DarkSlateGray
40,79,79
Color.PaleVioletRed
219,112,147
Color.DarkTurquoise
0,206,209
Color.PapayaWhip
255,239,213
Color.DarkViolet
148,0,211
Color.PeachPuff
255,218,155
Color.DeepPink
255,20,147
Color.Peru
205,133,63
Color.DeepSkyBlue
0,191,255
Color.Pink
255,192,203
Color.DimGray
105,105,105
Color.Plum
221,160,221
Color.DodgerBlue
30,144,255
Color.PowderBlue
176,224,230
Color.Firebrick
178,34,34
Color.Purple
128,0,128
Color.FloralWhite
255,250,240
Color.Red
255,0,0
Color.ForestGreen
34,139,34
Color.RosyBrown
188,143,143
Color.Fuschia
255,0,255
Color.RoyalBlue
65,105,225
Color.Gainsboro
220,220,220
Color.SaddleBrown
139,69,19
Color.GhostWhite
248,248,255
Color.Salmon
250,128,114
Color.Gold
255,215,0
Color.SandyBrown
244,164,96
Color.Goldenrod
218,165,32
Color.SeaGreen
46,139,87
Color.Gray
128,128,128
Color.Seashell
255,245,238
Color.Green
0,128,0
Color.Sienna
160,82,45
Color.GreenYellow
173,255,47
Color.Silver
192,192,192
Color.Honeydew
240,255,240
Color.SkyBlue
135,206,235
Color.HotPink
255,105,180
Color.SlateBlue
106,90,205
Color.IndianRed
205,92,92
Color.SlateGray
112,128,144
Color.Indigo
75,0,130
Color.Snow
255,250,250
Color.Ivory
255,240,240
Color.SpringGreen
0,255,127
Color.Khaki
240,230,140
Color.SteelBlue
70,130,180
Color.Lavender
230,230,250
Color.Tan
210,180,140
Color.LavenderBlush
255,240,245
Color.Teal
0,128,128
Color.LawnGreen
124,252,0
Color.Thistle
216,191,216
Color.LemonChiffon
255,250,205
Color.Tomato
253,99,71
Color.LightBlue
173,216,230
Color.Turquoise
64,224,208
Color.LightCoral
240,128,128
Color.Violet
238,130,238
Color.LightCyan
224,255,255
Color.Wheat
245,222,179
Color.LightGoldenrodYellow
250,250,210
Color.White
255,255,255
Color.LightGreen
144,238,144
Color.WhiteSmoke
245,245,245
Color.LightGray
211,211,211
Color.Yellow
255,255,0
Color.LightPink
255,182,193
Color.YellowGreen
154,205,50

3.根据名字获取颜色的方法:

SolidColorBrush redBrush =newBrushConverter().ConvertFromString("#FFFFFF") as SolidColorBrush;

其他图片对照参考

参考:

http://www.java2s.com/Tutorial/VB/0290__Windows-Presentation-Foundation/ShowsthepredefinedbrushesdefinedbytheSystemBrushesclass.htm

http://plasserre.developpez.com/cours/vb-net/images/vallcolor.jpg

http://www.pardesiservices.com/softomatix/images/ColorChart.jpg

http://www.cnblogs.com/xpvincent/archive/2012/12/17/2821665.html

http://www.java2s.com/Tutorial/VB/0290__Windows-Presentation-Foundation/ShowsthepredefinedbrushesdefinedbytheSystemBrushesclass.htm

System.Drawing.Color的颜色对照表

时间: 2024-10-10 04:42:43

System.Drawing.Color的颜色对照表的相关文章

(转)System.Drawing.Color的颜色对照表

经常使用System.Drawing.Color, 本篇介绍一下颜色与名称及RGB值的对应关系. 1. 颜色与名称的对照表(点击下图放大看): 2. 颜色与RGB值对照表: Color.AliceBlue 240,248,255 Color.LightSalmon 255,160,122 Color.AntiqueWhite 250,235,215 Color.LightSeaGreen 32,178,170 Color.Aqua 0,255,255 Color.LightSkyBlue 135

AutoCAD.Net/C#.Net QQ群:193522571 System.Drawing.Color和AutoDesk.AutoCAD.Colors.Color互转

假如各自实例化后的Color分别为: SysColor和CadColor 那么 SysColor转AutoDesk.AutoCAD.Colors.Color为:Autodesk.AutoCAD.Colors.Color.FromColor(SysColor) CadColor转 System.Drawing.Color为:CadColor.ColorValue

C# Color Table颜色对照表

.AliceBlue 240,248,255 .LightSalmon 255,160,122 .AntiqueWhite 250,235,215 .LightSeaGreen 32,178,170 .Aqua 0,255,255 .LightSkyBlue 135,206,250 .Aquamarine 127,255,212 .LightSlateGray 119,136,153 .Azure 240,255,255 .LightSteelBlue 176,196,222 .Beige 24

C# Color颜色对照表

Color命名空间  using System.Drawing; Color.AliceBlue 240,248,255 Color.LightSalmon 255,160,122 Color.AntiqueWhite 250,235,215 Color.LightSeaGreen 32,178,170 Color.Aqua 0,255,255 Color.LightSkyBlue 135,206,250 Color.Aquamarine 127,255,212 Color.LightSlate

类库探源——System.Drawing.Bitmap

一.System.Drawing.Bitmap Bitmap 类: 封装GDI+ 位图,此位图由图形图像及其属性的像素数据组成.Bitmap 是用于处理由像素定义的图像的对象 命名空间: System.Drawing 程序集:   System.Drawing.dll 继承关系: 原型定义: [SerializableAttribute] [ComVisibleAttribute(true)] public sealed class Bitmap : Image 备注:GDI+ 支持下列文件格式

利用System.Drawing.Image类进行图片相关操作

C#中对图片的操作主要是通过System.Drawing.Image等类进行. 一.将图片转换为字节流 /// <summary> /// 图片处理帮助类 /// </summary> public static class PicProcessHelper { /// <summary> /// 将图片转换为指定的字节流 /// </summary> /// <param name="filePath">图片路径</p

.net学习笔记----利用System.Drawing.Image类进行图片相关操作

C#中对图片的操作主要是通过System.Drawing.Image等类进行. 一.将图片转换为字节流 /// <summary> /// 图片处理帮助类 /// </summary> public static class PicProcessHelper { /// <summary> /// 将图片转换为指定的字节流 /// </summary> /// <param name="filePath">图片路径</p

System.Drawing.Text.TextRenderingHint 的几种效果

for (int i = 0; i < 6; i++) { g5.TextRenderingHint = (System.Drawing.Text.TextRenderingHint)i; string txt; int font_sz = 25; txt = "Static 测试 "; switch ((System.Drawing.Text.TextRenderingHint)i) { case System.Drawing.Text.TextRenderingHint.Sy

Asp.Net Core使用System.Drawing.Common部署到docker报错问题

原文:Asp.Net Core使用System.Drawing.Common部署到docker报错问题 Asp.Net Core 2.1发布后,正式支持System.Drawing.Common绘图了,可以用来做一些图片验证码之类的功能.但是把网站部署到docker容器里运行会遇到很多问题,也是非常闹心的,本文记录这些问题,希望帮到有需要的人. 创建网站 前提条件:安装最新版VS2017和Net Core SDK 2.1. 首先新建网站,选择Asp.Net Core 2.1 Web应用程序(模型