1 // 2 // System.Drawing.Color.cs 3 // 4 // Author: 5 // Dennis Hayes (dennish@raytek.com) 6 // Ben Houston (ben@exocortex.org) 7 // 8 // (C) 2002 Dennis Hayes 9 // Copyright (C) 2004,2006 Novell, Inc (http://www.novell.com) 10 // 11 // Permission is hereby granted, free of charge, to any person obtaining 12 // a copy of this software and associated documentation files (the 13 // "Software"), to deal in the Software without restriction, including 14 // without limitation the rights to use, copy, modify, merge, publish, 15 // distribute, sublicense, and/or sell copies of the Software, and to 16 // permit persons to whom the Software is furnished to do so, subject to 17 // the following conditions: 18 // 19 // The above copyright notice and this permission notice shall be 20 // included in all copies or substantial portions of the Software. 21 // 22 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 23 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 24 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 25 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 26 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 27 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 28 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 29 // 30 31 namespace System.Drawing { 32 33 public enum KnownColor { 34 ActiveBorder = 1, 35 ActiveCaption = 2, 36 ActiveCaptionText = 3, 37 AppWorkspace = 4, 38 Control = 5, 39 ControlDark = 6, 40 ControlDarkDark = 7, 41 ControlLight = 8, 42 ControlLightLight = 9, 43 ControlText = 10, 44 Desktop = 11, 45 GrayText = 12, 46 Highlight = 13, 47 HighlightText = 14, 48 HotTrack = 15, 49 InactiveBorder = 16, 50 InactiveCaption = 17, 51 InactiveCaptionText = 18, 52 Info = 19, 53 InfoText = 20, 54 Menu = 21, 55 MenuText = 22, 56 ScrollBar = 23, 57 Window = 24, 58 WindowFrame = 25, 59 WindowText = 26, 60 Transparent = 27, 61 AliceBlue = 28, 62 AntiqueWhite = 29, 63 Aqua = 30, 64 Aquamarine = 31, 65 Azure = 32, 66 Beige = 33, 67 Bisque = 34, 68 Black = 35, 69 BlanchedAlmond = 36, 70 Blue = 37, 71 BlueViolet = 38, 72 Brown = 39, 73 BurlyWood = 40, 74 CadetBlue = 41, 75 Chartreuse = 42, 76 Chocolate = 43, 77 Coral = 44, 78 CornflowerBlue = 45, 79 Cornsilk = 46, 80 Crimson = 47, 81 Cyan = 48, 82 DarkBlue = 49, 83 DarkCyan = 50, 84 DarkGoldenrod = 51, 85 DarkGray = 52, 86 DarkGreen = 53, 87 DarkKhaki = 54, 88 DarkMagenta = 55, 89 DarkOliveGreen = 56, 90 DarkOrange = 57, 91 DarkOrchid = 58, 92 DarkRed = 59, 93 DarkSalmon = 60, 94 DarkSeaGreen = 61, 95 DarkSlateBlue = 62, 96 DarkSlateGray = 63, 97 DarkTurquoise = 64, 98 DarkViolet = 65, 99 DeepPink = 66, 100 DeepSkyBlue = 67, 101 DimGray = 68, 102 DodgerBlue = 69, 103 Firebrick = 70, 104 FloralWhite = 71, 105 ForestGreen = 72, 106 Fuchsia = 73, 107 Gainsboro = 74, 108 GhostWhite = 75, 109 Gold = 76, 110 Goldenrod = 77, 111 Gray = 78, 112 Green = 79, 113 GreenYellow = 80, 114 Honeydew = 81, 115 HotPink = 82, 116 IndianRed = 83, 117 Indigo = 84, 118 Ivory = 85, 119 Khaki = 86, 120 Lavender = 87, 121 LavenderBlush = 88, 122 LawnGreen = 89, 123 LemonChiffon = 90, 124 LightBlue = 91, 125 LightCoral = 92, 126 LightCyan = 93, 127 LightGoldenrodYellow = 94, 128 LightGray = 95, 129 LightGreen = 96, 130 LightPink = 97, 131 LightSalmon = 98, 132 LightSeaGreen = 99, 133 LightSkyBlue = 100, 134 LightSlateGray = 101, 135 LightSteelBlue = 102, 136 LightYellow = 103, 137 Lime = 104, 138 LimeGreen = 105, 139 Linen = 106, 140 Magenta = 107, 141 Maroon = 108, 142 MediumAquamarine = 109, 143 MediumBlue = 110, 144 MediumOrchid = 111, 145 MediumPurple = 112, 146 MediumSeaGreen = 113, 147 MediumSlateBlue = 114, 148 MediumSpringGreen = 115, 149 MediumTurquoise = 116, 150 MediumVioletRed = 117, 151 MidnightBlue = 118, 152 MintCream = 119, 153 MistyRose = 120, 154 Moccasin = 121, 155 NavajoWhite = 122, 156 Navy = 123, 157 OldLace = 124, 158 Olive = 125, 159 OliveDrab = 126, 160 Orange = 127, 161 OrangeRed = 128, 162 Orchid = 129, 163 PaleGoldenrod = 130, 164 PaleGreen = 131, 165 PaleTurquoise = 132, 166 PaleVioletRed = 133, 167 PapayaWhip = 134, 168 PeachPuff = 135, 169 Peru = 136, 170 Pink = 137, 171 Plum = 138, 172 PowderBlue = 139, 173 Purple = 140, 174 Red = 141, 175 RosyBrown = 142, 176 RoyalBlue = 143, 177 SaddleBrown = 144, 178 Salmon = 145, 179 SandyBrown = 146, 180 SeaGreen = 147, 181 SeaShell = 148, 182 Sienna = 149, 183 Silver = 150, 184 SkyBlue = 151, 185 SlateBlue = 152, 186 SlateGray = 153, 187 Snow = 154, 188 SpringGreen = 155, 189 SteelBlue = 156, 190 Tan = 157, 191 Teal = 158, 192 Thistle = 159, 193 Tomato = 160, 194 Turquoise = 161, 195 Violet = 162, 196 Wheat = 163, 197 White = 164, 198 WhiteSmoke = 165, 199 Yellow = 166, 200 YellowGreen = 167, 201 ButtonFace = 168, 202 ButtonHighlight = 169, 203 ButtonShadow = 170, 204 GradientActiveCaption = 171, 205 GradientInactiveCaption = 172, 206 MenuBar = 173, 207 MenuHighlight = 174 208 } 209 } 210