Enum KnownColor

KnownColor enumeration

Specifies the known system colors.

public enum KnownColor

Values

NameValueDescription
ActiveBorder1The system-defined color of the active window’s border.
ActiveCaption2The system-defined color of the background of the active window’s title bar.
ActiveCaptionText3The system-defined color of the text in the active window’s title bar.
AppWorkspace4The 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.
Control5The system-defined face color of a 3-D element.
ControlDark6The 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.
ControlDarkDark7The 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.
ControlLight8The 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.
ControlLightLight9The 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.
ControlText10The system-defined color of text in a 3-D element.
Desktop11The system-defined color of the desktop.
GrayText12The system-defined color of dimmed text. Items in a list that are disabled are displayed in dimmed text.
Highlight13The system-defined color of the background of selected items. This includes selected menu items as well as selected text.
HighlightText14The system-defined color of the text of selected items.
HotTrack15The system-defined color used to designate a hot-tracked item. Single-clicking a hot-tracked item executes the item.
InactiveBorder16The system-defined color of an inactive window’s border.
InactiveCaption17The system-defined color of the background of an inactive window’s title bar.
InactiveCaptionText18The system-defined color of the text in an inactive window’s title bar.
Info19The system-defined color of the background of a ToolTip.
InfoText20The system-defined color of the text of a ToolTip.
Menu21The system-defined color of a menu’s background.
MenuText22The system-defined color of a menu’s text.
ScrollBar23The system-defined color of the background of a scroll bar.
Window24The system-defined color of the background in the client area of a window.
WindowFrame25The system-defined color of a window frame.
WindowText26The system-defined color of the text in the client area of a window.
Transparent27A system-defined color.
AliceBlue28A system-defined color.
AntiqueWhite29A system-defined color.
Aqua30A system-defined color.
Aquamarine31A system-defined color.
Azure32A system-defined color.
Beige33A system-defined color.
Bisque34A system-defined color.
Black35A system-defined color.
BlanchedAlmond36A system-defined color.
Blue37A system-defined color.
BlueViolet38A system-defined color.
Brown39A system-defined color.
BurlyWood40A system-defined color.
CadetBlue41A system-defined color.
Chartreuse42A system-defined color.
Chocolate43A system-defined color.
Coral44A system-defined color.
CornflowerBlue45A system-defined color.
Cornsilk46A system-defined color.
Crimson47A system-defined color.
Cyan48A system-defined color.
DarkBlue49A system-defined color.
DarkCyan50A system-defined color.
DarkGoldenrod51A system-defined color.
DarkGray52A system-defined color.
DarkGreen53A system-defined color.
DarkKhaki54A system-defined color.
DarkMagenta55A system-defined color.
DarkOliveGreen56A system-defined color.
DarkOrange57A system-defined color.
DarkOrchid58A system-defined color.
DarkRed59A system-defined color.
DarkSalmon60A system-defined color.
DarkSeaGreen61A system-defined color.
DarkSlateBlue62A system-defined color.
DarkSlateGray63A system-defined color.
DarkTurquoise64A system-defined color.
DarkViolet65A system-defined color.
DeepPink66A system-defined color.
DeepSkyBlue67A system-defined color.
DimGray68A system-defined color.
DodgerBlue69A system-defined color.
Firebrick70A system-defined color.
FloralWhite71A system-defined color.
ForestGreen72A system-defined color.
Fuchsia73A system-defined color.
Gainsboro74A system-defined color.
GhostWhite75A system-defined color.
Gold76A system-defined color.
Goldenrod77A system-defined color.
Gray78A system-defined color.
Green79A system-defined color.
GreenYellow80A system-defined color.
Honeydew81A system-defined color.
HotPink82A system-defined color.
IndianRed83A system-defined color.
Indigo84A system-defined color.
Ivory85A system-defined color.
Khaki86A system-defined color.
Lavender87A system-defined color.
LavenderBlush88A system-defined color.
LawnGreen89A system-defined color.
LemonChiffon90A system-defined color.
LightBlue91A system-defined color.
LightCoral92A system-defined color.
LightCyan93A system-defined color.
LightGoldenrodYellow94A system-defined color.
LightGray95A system-defined color.
LightGreen96A system-defined color.
LightPink97A system-defined color.
LightSalmon98A system-defined color.
LightSeaGreen99A system-defined color.
LightSkyBlue100A system-defined color.
LightSlateGray101A system-defined color.
LightSteelBlue102A system-defined color.
LightYellow103A system-defined color.
Lime104A system-defined color.
LimeGreen105A system-defined color.
Linen106A system-defined color.
Magenta107A system-defined color.
Maroon108A system-defined color.
MediumAquamarine109A system-defined color.
MediumBlue110A system-defined color.
MediumOrchid111A system-defined color.
MediumPurple112A system-defined color.
MediumSeaGreen113A system-defined color.
MediumSlateBlue114A system-defined color.
MediumSpringGreen115A system-defined color.
MediumTurquoise116A system-defined color.
MediumVioletRed117A system-defined color.
MidnightBlue118A system-defined color.
MintCream119A system-defined color.
MistyRose120A system-defined color.
Moccasin121A system-defined color.
NavajoWhite122A system-defined color.
Navy123A system-defined color.
OldLace124A system-defined color.
Olive125A system-defined color.
OliveDrab126A system-defined color.
Orange127A system-defined color.
OrangeRed128A system-defined color.
Orchid129A system-defined color.
PaleGoldenrod130A system-defined color.
PaleGreen131A system-defined color.
PaleTurquoise132A system-defined color.
PaleVioletRed133A system-defined color.
PapayaWhip134A system-defined color.
PeachPuff135A system-defined color.
Peru136A system-defined color.
Pink137A system-defined color.
Plum138A system-defined color.
PowderBlue139A system-defined color.
Purple140A system-defined color.
Red141A system-defined color.
RosyBrown142A system-defined color.
RoyalBlue143A system-defined color.
SaddleBrown144A system-defined color.
Salmon145A system-defined color.
SandyBrown146A system-defined color.
SeaGreen147A system-defined color.
SeaShell148A system-defined color.
Sienna149A system-defined color.
Silver150A system-defined color.
SkyBlue151A system-defined color.
SlateBlue152A system-defined color.
SlateGray153A system-defined color.
Snow154A system-defined color.
SpringGreen155A system-defined color.
SteelBlue156A system-defined color.
Tan157A system-defined color.
Teal158A system-defined color.
Thistle159A system-defined color.
Tomato160A system-defined color.
Turquoise161A system-defined color.
Violet162A system-defined color.
Wheat163A system-defined color.
White164A system-defined color.
WhiteSmoke165A system-defined color.
Yellow166A system-defined color.
YellowGreen167A system-defined color.
ButtonFace168The system-defined face color of a 3-D element.
ButtonHighlight169The 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.
ButtonShadow170The 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.
GradientActiveCaption171The system-defined color of the lightest color in the color gradient of an active window’s title bar.
GradientInactiveCaption172The system-defined color of the lightest color in the color gradient of an inactive window’s title bar.
MenuBar173The system-defined color of the background of a menu bar.
MenuHighlight174The system-defined color used to highlight menu items when the menu appears as a flat menu.

See Also