Enum KnownColor
Specifies the known colors.
public enum KnownColor : short
Fields
ActiveBorder = 1The system-defined color of the active window's border.
ActiveCaption = 2The system-defined color of the background of the active window's title bar.
ActiveCaptionText = 3The system-defined color of the text in the active window's title bar.
AliceBlue = 28A system-defined color.
AntiqueWhite = 29A system-defined color.
AppWorkspace = 4The system-defined color of the application workspace. The application workspace is the area in a multiple-document view that is not being occupied by documents.
Aqua = 30A system-defined color.
Aquamarine = 31A system-defined color.
Azure = 32A system-defined color.
Beige = 33A system-defined color.
Bisque = 34A system-defined color.
Black = 35A system-defined color.
BlanchedAlmond = 36A system-defined color.
Blue = 37A system-defined color.
BlueViolet = 38A system-defined color.
Brown = 39A system-defined color.
BurlyWood = 40A system-defined color.
ButtonFace = 168The system-defined face color of a 3-D element.
ButtonHighlight = 169The system-defined color that is the highlight color of a 3-D element. This color is applied to parts of a 3-D element that face the light source.
ButtonShadow = 170The system-defined color that is the shadow color of a 3-D element. This color is applied to parts of a 3-D element that face away from the light source.
CadetBlue = 41A system-defined color.
Chartreuse = 42A system-defined color.
Chocolate = 43A system-defined color.
Control = 5The system-defined face color of a 3-D element.
ControlDark = 6The system-defined shadow color of a 3-D element. The shadow color is applied to parts of a 3-D element that face away from the light source.
ControlDarkDark = 7The system-defined color that is the dark shadow color of a 3-D element. The dark shadow color is applied to the parts of a 3-D element that are the darkest color.
ControlLight = 8The system-defined color that is the light color of a 3-D element. The light color is applied to parts of a 3-D element that face the light source.
ControlLightLight = 9The system-defined highlight color of a 3-D element. The highlight color is applied to the parts of a 3-D element that are the lightest color.
ControlText = 10The system-defined color of text in a 3-D element.
Coral = 44A system-defined color.
CornflowerBlue = 45A system-defined color.
Cornsilk = 46A system-defined color.
Crimson = 47A system-defined color.
Cyan = 48A system-defined color.
DarkBlue = 49A system-defined color.
DarkCyan = 50A system-defined color.
DarkGoldenrod = 51A system-defined color.
DarkGray = 52A system-defined color.
DarkGreen = 53A system-defined color.
DarkKhaki = 54A system-defined color.
DarkMagenta = 55A system-defined color.
DarkOliveGreen = 56A system-defined color.
DarkOrange = 57A system-defined color.
DarkOrchid = 58A system-defined color.
DarkRed = 59A system-defined color.
DarkSalmon = 60A system-defined color.
DarkSeaGreen = 61A system-defined color.
DarkSlateBlue = 62A system-defined color.
DarkSlateGray = 63A system-defined color.
DarkTurquoise = 64A system-defined color.
DarkViolet = 65A system-defined color.
DeepPink = 66A system-defined color.
DeepSkyBlue = 67A system-defined color.
Desktop = 11The system-defined color of the desktop.
DimGray = 68A system-defined color.
DodgerBlue = 69A system-defined color.
Firebrick = 70A system-defined color.
FloralWhite = 71A system-defined color.
ForestGreen = 72A system-defined color.
Fuchsia = 73A system-defined color.
Gainsboro = 74A system-defined color.
GhostWhite = 75A system-defined color.
Gold = 76A system-defined color.
Goldenrod = 77A system-defined color.
GradientActiveCaption = 171The system-defined color of the lightest color in the color gradient of an active window's title bar.
GradientInactiveCaption = 172The system-defined color of the lightest color in the color gradient of an inactive window's title bar.
Gray = 78A system-defined color.
GrayText = 12The system-defined color of dimmed text. Items in a list that are disabled are displayed in dimmed text.
Green = 79A system-defined color.
GreenYellow = 80A system-defined color.
Highlight = 13The system-defined color of the background of selected items. This includes selected menu items as well as selected text.
HighlightText = 14The system-defined color of the text of selected items.
Honeydew = 81A system-defined color.
HotPink = 82A system-defined color.
HotTrack = 15The system-defined color used to designate a hot-tracked item. Single-clicking a hot-tracked item executes the item.
InactiveBorder = 16The system-defined color of an inactive window's border.
InactiveCaption = 17The system-defined color of the background of an inactive window's title bar.
InactiveCaptionText = 18The system-defined color of the text in an inactive window's title bar.
IndianRed = 83A system-defined color.
Indigo = 84A system-defined color.
Info = 19The system-defined color of the background of a ToolTip.
InfoText = 20The system-defined color of the text of a ToolTip.
Ivory = 85A system-defined color.
Khaki = 86A system-defined color.
Lavender = 87A system-defined color.
LavenderBlush = 88A system-defined color.
LawnGreen = 89A system-defined color.
LemonChiffon = 90A system-defined color.
LightBlue = 91A system-defined color.
LightCoral = 92A system-defined color.
LightCyan = 93A system-defined color.
LightGoldenrodYellow = 94A system-defined color.
LightGray = 95A system-defined color.
LightGreen = 96A system-defined color.
LightPink = 97A system-defined color.
LightSalmon = 98A system-defined color.
LightSeaGreen = 99A system-defined color.
LightSkyBlue = 100A system-defined color.
LightSlateGray = 101A system-defined color.
LightSteelBlue = 102A system-defined color.
LightYellow = 103A system-defined color.
Lime = 104A system-defined color.
LimeGreen = 105A system-defined color.
Linen = 106A system-defined color.
Magenta = 107A system-defined color.
Maroon = 108A system-defined color.
MediumAquamarine = 109A system-defined color.
MediumBlue = 110A system-defined color.
MediumOrchid = 111A system-defined color.
MediumPurple = 112A system-defined color.
MediumSeaGreen = 113A system-defined color.
MediumSlateBlue = 114A system-defined color.
MediumSpringGreen = 115A system-defined color.
MediumTurquoise = 116A system-defined color.
MediumVioletRed = 117A system-defined color.
Menu = 21The system-defined color of a menu's background.
MenuBar = 173The system-defined color of the background of a menu bar.
MenuHighlight = 174The system-defined color used to highlight menu items when the menu appears as a flat menu.
MenuText = 22The system-defined color of a menu's text.
MidnightBlue = 118A system-defined color.
MintCream = 119A system-defined color.
MistyRose = 120A system-defined color.
Moccasin = 121A system-defined color.
A system-defined color.
A system-defined color.
OldLace = 124A system-defined color.
Olive = 125A system-defined color.
OliveDrab = 126A system-defined color.
Orange = 127A system-defined color.
OrangeRed = 128A system-defined color.
Orchid = 129A system-defined color.
PaleGoldenrod = 130A system-defined color.
PaleGreen = 131A system-defined color.
PaleTurquoise = 132A system-defined color.
PaleVioletRed = 133A system-defined color.
PapayaWhip = 134A system-defined color.
PeachPuff = 135A system-defined color.
Peru = 136A system-defined color.
Pink = 137A system-defined color.
Plum = 138A system-defined color.
PowderBlue = 139A system-defined color.
Purple = 140A system-defined color.
RebeccaPurple = 175A system-defined color.
Red = 141A system-defined color.
RosyBrown = 142A system-defined color.
RoyalBlue = 143A system-defined color.
SaddleBrown = 144A system-defined color.
Salmon = 145A system-defined color.
SandyBrown = 146A system-defined color.
ScrollBar = 23The system-defined color of the background of a scroll bar.
SeaGreen = 147A system-defined color.
SeaShell = 148A system-defined color.
Sienna = 149A system-defined color.
Silver = 150A system-defined color.
SkyBlue = 151A system-defined color.
SlateBlue = 152A system-defined color.
SlateGray = 153A system-defined color.
Snow = 154A system-defined color.
SpringGreen = 155A system-defined color.
SteelBlue = 156A system-defined color.
Tan = 157A system-defined color.
Teal = 158A system-defined color.
Thistle = 159A system-defined color.
Tomato = 160A system-defined color.
Transparent = 27A system-defined color.
Turquoise = 161A system-defined color.
Violet = 162A system-defined color.
Wheat = 163A system-defined color.
White = 164A system-defined color.
WhiteSmoke = 165A system-defined color.
Window = 24The system-defined color of the background in the client area of a window.
WindowFrame = 25The system-defined color of a window frame.
WindowText = 26The system-defined color of the text in the client area of a window.
Yellow = 166A system-defined color.
YellowGreen = 167A system-defined color.