C#KnownColor颜色 System.Drawing.KnownColor枚举颜色

下面的颜色由System.Drawing.KnownColor类型的枚举获得 一共174个windows支持的颜色

            var t = (typeof(System.Drawing.KnownColor));
            var allColors = Enum.GetNames(t);

 

 

枚举值名称十六进制RGB颜色呈现效果色调-饱和度-亮度(HSB)预定义
颜色
命名
颜色
系统
颜色
1 ActiveBorder #B4B4B4 180,180,180   0,0,0.706
2 ActiveCaption #99B4D1 153,180,209   211.071,0.378,0.71
3 ActiveCaptionText #000000 0,0,0   0,0,0
4 AppWorkspace #ABABAB 171,171,171   0,0,0.671
5 Control #F0F0F0 240,240,240   0,0,0.941
6 ControlDark #A0A0A0 160,160,160   0,0,0.627
7 ControlDarkDark #696969 105,105,105   0,0,0.412
8 ControlLight #E3E3E3 227,227,227   0,0,0.89
9 ControlLightLight #FFFFFF 255,255,255   0,0,1
10 ControlText #000000 0,0,0   0,0,0
11 Desktop #000000 0,0,0   0,0,0
12 GrayText #6D6D6D 109,109,109   0,0,0.427
13 Highlight #3399FF 51,153,255   210,1,0.6
14 HighlightText #FFFFFF 255,255,255   0,0,1
15 HotTrack #0066CC 0,102,204   210,1,0.4
16 InactiveBorder #F4F7FC 244,247,252   217.5,0.571,0.973
17 InactiveCaption #BFCDDB 191,205,219   210,0.28,0.804
18 InactiveCaptionText #434E54 67,78,84   201.177,0.113,0.296
19 Info #FFFFE1 255,255,225   60,1,0.941
20 InfoText #000000 0,0,0   0,0,0
21 Menu #F0F0F0 240,240,240   0,0,0.941
22 MenuText #000000 0,0,0   0,0,0
23 ScrollBar #C8C8C8 200,200,200   0,0,0.784
24 Window #FFFFFF 255,255,255   0,0,1
25 WindowFrame #646464 100,100,100   0,0,0.392
26 WindowText #000000 0,0,0   0,0,0
27 Transparent #FFFFFF 255,255,255   0,0,1
28 AliceBlue #F0F8FF 240,248,255   208,1,0.971
29 AntiqueWhite #FAEBD7 250,235,215   34.286,0.778,0.912
30 Aqua #00FFFF 0,255,255   180,1,0.5
31 Aquamarine #7FFFD4 127,255,212   159.844,1,0.749
32 Azure #F0FFFF 240,255,255   180,1,0.971
33 Beige #F5F5DC 245,245,220   60,0.556,0.912
34 Bisque #FFE4C4 255,228,196   32.542,1,0.884
35 Black #000000 0,0,0   0,0,0
36 BlanchedAlmond #FFEBCD 255,235,205   36,1,0.902
37 Blue #0000FF 0,0,255   240,1,0.5
38 BlueViolet #8A2BE2 138,43,226   271.148,0.759,0.527
39 Brown #A52A2A 165,42,42   0,0.594,0.406
40 BurlyWood #DEB887 222,184,135   33.793,0.569,0.7
41 CadetBlue #5F9EA0 95,158,160   181.846,0.255,0.5
42 Chartreuse #7FFF00 127,255,0   90.118,1,0.5
43 Chocolate #D2691E 210,105,30   25,0.75,0.471
44 Coral #FF7F50 255,127,80   16.114,1,0.657
45 CornflowerBlue #6495ED 100,149,237   218.54,0.792,0.661
46 Cornsilk #FFF8DC 255,248,220   48,1,0.931
47 Crimson #DC143C 220,20,60   348,0.833,0.471
48 Cyan #00FFFF 0,255,255   180,1,0.5
49 DarkBlue #00008B 0,0,139   240,1,0.273
50 DarkCyan #008B8B 0,139,139   180,1,0.273
51 DarkGoldenrod #B8860B 184,134,11   42.659,0.887,0.382
52 DarkGray #A9A9A9 169,169,169   0,0,0.663
53 DarkGreen #006400 0,100,0   120,1,0.196
54 DarkKhaki #BDB76B 189,183,107   55.61,0.383,0.58
55 DarkMagenta #8B008B 139,0,139   300,1,0.273
56 DarkOliveGreen #556B2F 85,107,47   82,0.39,0.302
57 DarkOrange #FF8C00 255,140,0   32.941,1,0.5
58 DarkOrchid #9932CC 153,50,204   280.13,0.606,0.498
59 DarkRed #8B0000 139,0,0   0,1,0.273
60 DarkSalmon #E9967A 233,150,122   15.135,0.716,0.696
61 DarkSeaGreen #8FBC8B 143,188,139   115.102,0.268,0.641
62 DarkSlateBlue #483D8B 72,61,139   248.462,0.39,0.392
63 DarkSlateGray #2F4F4F 47,79,79   180,0.254,0.247
64 DarkTurquoise #00CED1 0,206,209   180.861,1,0.41
65 DarkViolet #9400D3 148,0,211   282.085,1,0.414
66 DeepPink #FF1493 255,20,147   327.575,1,0.539
67 DeepSkyBlue #00BFFF 0,191,255   195.059,1,0.5
68 DimGray #696969 105,105,105   0,0,0.412
69 DodgerBlue #1E90FF 30,144,255   209.6,1,0.559
70 Firebrick #B22222 178,34,34   0,0.679,0.416
71 FloralWhite #FFFAF0 255,250,240   40,1,0.971
72 ForestGreen #228B22 34,139,34   120,0.607,0.339
73 Fuchsia #FF00FF 255,0,255   300,1,0.5
74 Gainsboro #DCDCDC 220,220,220   0,0,0.863
75 GhostWhite #F8F8FF 248,248,255   240,1,0.986
76 Gold #FFD700 255,215,0   50.588,1,0.5
77 Goldenrod #DAA520 218,165,32   42.903,0.744,0.49
78 Gray #808080 128,128,128   0,0,0.502
79 Green #008000 0,128,0   120,1,0.251
80 GreenYellow #ADFF2F 173,255,47   83.654,1,0.592
81 Honeydew #F0FFF0 240,255,240   120,1,0.971
82 HotPink #FF69B4 255,105,180   330,1,0.706
83 IndianRed #CD5C5C 205,92,92   0,0.531,0.582
84 Indigo #4B0082 75,0,130   274.615,1,0.255
85 Ivory #FFFFF0 255,255,240   60,1,0.971
86 Khaki #F0E68C 240,230,140   54,0.769,0.745
87 Lavender #E6E6FA 230,230,250   240,0.667,0.941
88 LavenderBlush #FFF0F5 255,240,245   340,1,0.971
89 LawnGreen #7CFC00 124,252,0   90.476,1,0.494
90 LemonChiffon #FFFACD 255,250,205   54,1,0.902
91 LightBlue #ADD8E6 173,216,230   194.737,0.533,0.79
92 LightCoral #F08080 240,128,128   0,0.789,0.722
93 LightCyan #E0FFFF 224,255,255   180,1,0.939
94 LightGoldenrodYellow #FAFAD2 250,250,210   60,0.8,0.902
95 LightGray #D3D3D3 211,211,211   0,0,0.827
96 LightGreen #90EE90 144,238,144   120,0.734,0.749
97 LightPink #FFB6C1 255,182,193   350.959,1,0.857
98 LightSalmon #FFA07A 255,160,122   17.143,1,0.739
99 LightSeaGreen #20B2AA 32,178,170   176.712,0.695,0.412
100 LightSkyBlue #87CEFA 135,206,250   202.957,0.92,0.755
101 LightSlateGray #778899 119,136,153   210,0.143,0.533
102 LightSteelBlue #B0C4DE 176,196,222   213.913,0.411,0.78
103 LightYellow #FFFFE0 255,255,224   60,1,0.939
104 Lime #00FF00 0,255,0   120,1,0.5
105 LimeGreen #32CD32 50,205,50   120,0.608,0.5
106 Linen #FAF0E6 250,240,230   30,0.667,0.941
107 Magenta #FF00FF 255,0,255   300,1,0.5
108 Maroon #800000 128,0,0   0,1,0.251
109 MediumAquamarine #66CDAA 102,205,170   159.612,0.507,0.602
110 MediumBlue #0000CD 0,0,205   240,1,0.402
111 MediumOrchid #BA55D3 186,85,211   288.095,0.589,0.58
112 MediumPurple #9370DB 147,112,219   259.626,0.598,0.649
113 MediumSeaGreen #3CB371 60,179,113   146.723,0.498,0.469
114 MediumSlateBlue #7B68EE 123,104,238   248.508,0.798,0.671
115 MediumSpringGreen #00FA9A 0,250,154   156.96,1,0.49
116 MediumTurquoise #48D1CC 72,209,204   177.81,0.598,0.551
117 MediumVioletRed #C71585 199,21,133   322.247,0.809,0.431
118 MidnightBlue #191970 25,25,112   240,0.635,0.269
119 MintCream #F5FFFA 245,255,250   150,1,0.98
120 MistyRose #FFE4E1 255,228,225   6,1,0.941
121 Moccasin #FFE4B5 255,228,181   38.108,1,0.855
122 NavajoWhite #FFDEAD 255,222,173   35.854,1,0.839
123 Navy #000080 0,0,128   240,1,0.251
124 OldLace #FDF5E6 253,245,230   39.13,0.852,0.947
125 Olive #808000 128,128,0   60,1,0.251
126 OliveDrab #6B8E23 107,142,35   79.626,0.605,0.347
127 Orange #FFA500 255,165,0   38.824,1,0.5
128 OrangeRed #FF4500 255,69,0   16.235,1,0.5
129 Orchid #DA70D6 218,112,214   302.264,0.589,0.647
130 PaleGoldenrod #EEE8AA 238,232,170   54.706,0.667,0.8
131 PaleGreen #98FB98 152,251,152   120,0.925,0.79
132 PaleTurquoise #AFEEEE 175,238,238   180,0.649,0.81
133 PaleVioletRed #DB7093 219,112,147   340.374,0.598,0.649
134 PapayaWhip #FFEFD5 255,239,213   37.143,1,0.918
135 PeachPuff #FFDAB9 255,218,185   28.286,1,0.863
136 Peru #CD853F 205,133,63   29.577,0.587,0.525
137 Pink #FFC0CB 255,192,203   349.524,1,0.876
138 Plum #DDA0DD 221,160,221   300,0.473,0.747
139 PowderBlue #B0E0E6 176,224,230   186.667,0.519,0.796
140 Purple #800080 128,0,128   300,1,0.251
141 Red #FF0000 255,0,0   0,1,0.5
142 RosyBrown #BC8F8F 188,143,143   0,0.251,0.649
143 RoyalBlue #4169E1 65,105,225   225,0.727,0.569
144 SaddleBrown #8B4513 139,69,19   25,0.759,0.31
145 Salmon #FA8072 250,128,114   6.176,0.932,0.714
146 SandyBrown #F4A460 244,164,96   27.568,0.871,0.667
147 SeaGreen #2E8B57 46,139,87   146.452,0.503,0.363
148 SeaShell #FFF5EE 255,245,238   24.706,1,0.967
149 Sienna #A0522D 160,82,45   19.304,0.561,0.402
150 Silver #C0C0C0 192,192,192   0,0,0.753
151 SkyBlue #87CEEB 135,206,235   197.4,0.714,0.725
152 SlateBlue #6A5ACD 106,90,205   248.348,0.535,0.578
153 SlateGray #708090 112,128,144   210,0.126,0.502
154 Snow #FFFAFA 255,250,250   0,1,0.99
155 SpringGreen #00FF7F 0,255,127   149.882,1,0.5
156 SteelBlue #4682B4 70,130,180   207.273,0.44,0.49
157 Tan #D2B48C 210,180,140   34.286,0.438,0.686
158 Teal #008080 0,128,128   180,1,0.251
159 Thistle #D8BFD8 216,191,216   300,0.243,0.798
160 Tomato #FF6347 255,99,71   9.13,1,0.639
161 Turquoise #40E0D0 64,224,208   174,0.721,0.565
162 Violet #EE82EE 238,130,238   300,0.761,0.722
163 Wheat #F5DEB3 245,222,179   39.091,0.767,0.831
164 White #FFFFFF 255,255,255   0,0,1
165 WhiteSmoke #F5F5F5 245,245,245   0,0,0.961
166 Yellow #FFFF00 255,255,0   60,1,0.5
167 YellowGreen #9ACD32 154,205,50   79.742,0.608,0.5
168 ButtonFace #F0F0F0 240,240,240   0,0,0.941
169 ButtonHighlight #FFFFFF 255,255,255   0,0,1
170 ButtonShadow #A0A0A0 160,160,160   0,0,0.627
171 GradientActiveCaption #B9D1EA 185,209,234   210.612,0.538,0.822
172 GradientInactiveCaption #D7E4F2 215,228,242   211.111,0.509,0.896
173 MenuBar #F0F0F0 240,240,240   0,0,0.941
174 MenuHighlight #3399FF 51,153,255   210,1,0.6

 

本数据来来源自:http://www.yansedaquan.com/SeBan/KnownColor

如要查看更多的颜色 请查看 http://www.yansedaquan.com/  颜色大全 网站。。。。

posted @ 2017-06-27 12:29  大房子  阅读(972)  评论(0编辑  收藏  举报