Class Colors
Implements a set of predefined colors. See Color for usage information.
Inheritance
Inherited Members
Namespace: System.Windows.Media
Assembly: OpenSilver.dll
Syntax
public static class Colors
Properties
| Improve this Doc View SourceAliceBlue
Gets the color value that represents the AliceBlue named color.
Declaration
public static Color AliceBlue { get; }
Property Value
Type | Description |
---|---|
Color |
AntiqueWhite
Gets the color value that represents the AntiqueWhite named color.
Declaration
public static Color AntiqueWhite { get; }
Property Value
Type | Description |
---|---|
Color |
Aqua
Gets the color value that represents the Aqua named color.
Declaration
public static Color Aqua { get; }
Property Value
Type | Description |
---|---|
Color |
Aquamarine
Gets the color value that represents the Aquamarine named color.
Declaration
public static Color Aquamarine { get; }
Property Value
Type | Description |
---|---|
Color |
Azure
Gets the color value that represents the Azure named color.
Declaration
public static Color Azure { get; }
Property Value
Type | Description |
---|---|
Color |
Beige
Gets the color value that represents the Beige named color.
Declaration
public static Color Beige { get; }
Property Value
Type | Description |
---|---|
Color |
Bisque
Gets the color value that represents the Bisque named color.
Declaration
public static Color Bisque { get; }
Property Value
Type | Description |
---|---|
Color |
Black
Gets the color value that represents the Black named color.
Declaration
public static Color Black { get; }
Property Value
Type | Description |
---|---|
Color |
BlanchedAlmond
Gets the color value that represents the BlanchedAlmond named color.
Declaration
public static Color BlanchedAlmond { get; }
Property Value
Type | Description |
---|---|
Color |
Blue
Gets the color value that represents the Blue named color.
Declaration
public static Color Blue { get; }
Property Value
Type | Description |
---|---|
Color |
BlueViolet
Gets the color value that represents the BlueViolet named color.
Declaration
public static Color BlueViolet { get; }
Property Value
Type | Description |
---|---|
Color |
Brown
Gets the color value that represents the Brown named color.
Declaration
public static Color Brown { get; }
Property Value
Type | Description |
---|---|
Color |
BurlyWood
Gets the color value that represents the BurlyWood named color.
Declaration
public static Color BurlyWood { get; }
Property Value
Type | Description |
---|---|
Color |
CadetBlue
Gets the color value that represents the CadetBlue named color.
Declaration
public static Color CadetBlue { get; }
Property Value
Type | Description |
---|---|
Color |
Chartreuse
Gets the color value that represents the Chartreuse named color.
Declaration
public static Color Chartreuse { get; }
Property Value
Type | Description |
---|---|
Color |
Chocolate
Gets the color value that represents the Chocolate named color.
Declaration
public static Color Chocolate { get; }
Property Value
Type | Description |
---|---|
Color |
Coral
Gets the color value that represents the Coral named color.
Declaration
public static Color Coral { get; }
Property Value
Type | Description |
---|---|
Color |
CornflowerBlue
Gets the color value that represents the CornflowerBlue named color.
Declaration
public static Color CornflowerBlue { get; }
Property Value
Type | Description |
---|---|
Color |
Cornsilk
Gets the color value that represents the Cornsilk named color.
Declaration
public static Color Cornsilk { get; }
Property Value
Type | Description |
---|---|
Color |
Crimson
Gets the color value that represents the Crimson named color.
Declaration
public static Color Crimson { get; }
Property Value
Type | Description |
---|---|
Color |
Cyan
Gets the color value that represents the Cyan named color.
Declaration
public static Color Cyan { get; }
Property Value
Type | Description |
---|---|
Color |
DarkBlue
Gets the color value that represents the DarkBlue named color.
Declaration
public static Color DarkBlue { get; }
Property Value
Type | Description |
---|---|
Color |
DarkCyan
Gets the color value that represents the DarkCyan named color.
Declaration
public static Color DarkCyan { get; }
Property Value
Type | Description |
---|---|
Color |
DarkGoldenrod
Gets the color value that represents the DarkGoldenrod named color.
Declaration
public static Color DarkGoldenrod { get; }
Property Value
Type | Description |
---|---|
Color |
DarkGray
Gets the color value that represents the DarkGray named color.
Declaration
public static Color DarkGray { get; }
Property Value
Type | Description |
---|---|
Color |
DarkGreen
Gets the color value that represents the DarkGreen named color.
Declaration
public static Color DarkGreen { get; }
Property Value
Type | Description |
---|---|
Color |
DarkKhaki
Gets the color value that represents the DarkKhaki named color.
Declaration
public static Color DarkKhaki { get; }
Property Value
Type | Description |
---|---|
Color |
DarkMagenta
Gets the color value that represents the DarkMagenta named color.
Declaration
public static Color DarkMagenta { get; }
Property Value
Type | Description |
---|---|
Color |
DarkOliveGreen
Gets the color value that represents the DarkOliveGreen named color.
Declaration
public static Color DarkOliveGreen { get; }
Property Value
Type | Description |
---|---|
Color |
DarkOrange
Gets the color value that represents the DarkOrange named color.
Declaration
public static Color DarkOrange { get; }
Property Value
Type | Description |
---|---|
Color |
DarkOrchid
Gets the color value that represents the DarkOrchid named color.
Declaration
public static Color DarkOrchid { get; }
Property Value
Type | Description |
---|---|
Color |
DarkRed
Gets the color value that represents the DarkRed named color.
Declaration
public static Color DarkRed { get; }
Property Value
Type | Description |
---|---|
Color |
DarkSalmon
Gets the color value that represents the DarkSalmon named color.
Declaration
public static Color DarkSalmon { get; }
Property Value
Type | Description |
---|---|
Color |
DarkSeaGreen
Gets the color value that represents the DarkSeaGreen named color.
Declaration
public static Color DarkSeaGreen { get; }
Property Value
Type | Description |
---|---|
Color |
DarkSlateBlue
Gets the color value that represents the DarkSlateBlue named color.
Declaration
public static Color DarkSlateBlue { get; }
Property Value
Type | Description |
---|---|
Color |
DarkSlateGray
Gets the color value that represents the DarkSlateGray named color.
Declaration
public static Color DarkSlateGray { get; }
Property Value
Type | Description |
---|---|
Color |
DarkTurquoise
Gets the color value that represents the DarkTurquoise named color.
Declaration
public static Color DarkTurquoise { get; }
Property Value
Type | Description |
---|---|
Color |
DarkViolet
Gets the color value that represents the DarkViolet named color.
Declaration
public static Color DarkViolet { get; }
Property Value
Type | Description |
---|---|
Color |
DeepPink
Gets the color value that represents the DeepPink named color.
Declaration
public static Color DeepPink { get; }
Property Value
Type | Description |
---|---|
Color |
DeepSkyBlue
Gets the color value that represents the DeepSkyBlue named color.
Declaration
public static Color DeepSkyBlue { get; }
Property Value
Type | Description |
---|---|
Color |
DimGray
Gets the color value that represents the DimGray named color.
Declaration
public static Color DimGray { get; }
Property Value
Type | Description |
---|---|
Color |
DodgerBlue
Gets the color value that represents the DodgerBlue named color.
Declaration
public static Color DodgerBlue { get; }
Property Value
Type | Description |
---|---|
Color |
Firebrick
Gets the color value that represents the Firebrick named color.
Declaration
public static Color Firebrick { get; }
Property Value
Type | Description |
---|---|
Color |
FloralWhite
Gets the color value that represents the FloralWhite named color.
Declaration
public static Color FloralWhite { get; }
Property Value
Type | Description |
---|---|
Color |
ForestGreen
Gets the color value that represents the ForestGreen named color.
Declaration
public static Color ForestGreen { get; }
Property Value
Type | Description |
---|---|
Color |
Fuchsia
Gets the color value that represents the Fuchsia named color.
Declaration
public static Color Fuchsia { get; }
Property Value
Type | Description |
---|---|
Color |
Gainsboro
Gets the color value that represents the Gainsboro named color.
Declaration
public static Color Gainsboro { get; }
Property Value
Type | Description |
---|---|
Color |
GhostWhite
Gets the color value that represents the GhostWhite named color.
Declaration
public static Color GhostWhite { get; }
Property Value
Type | Description |
---|---|
Color |
Gold
Gets the color value that represents the Gold named color.
Declaration
public static Color Gold { get; }
Property Value
Type | Description |
---|---|
Color |
Goldenrod
Gets the color value that represents the Goldenrod named color.
Declaration
public static Color Goldenrod { get; }
Property Value
Type | Description |
---|---|
Color |
Gray
Gets the color value that represents the Gray named color.
Declaration
public static Color Gray { get; }
Property Value
Type | Description |
---|---|
Color |
Green
Gets the color value that represents the Green named color.
Declaration
public static Color Green { get; }
Property Value
Type | Description |
---|---|
Color |
GreenYellow
Gets the color value that represents the GreenYellow named color.
Declaration
public static Color GreenYellow { get; }
Property Value
Type | Description |
---|---|
Color |
Honeydew
Gets the color value that represents the Honeydew named color.
Declaration
public static Color Honeydew { get; }
Property Value
Type | Description |
---|---|
Color |
HotPink
Gets the color value that represents the HotPink named color.
Declaration
public static Color HotPink { get; }
Property Value
Type | Description |
---|---|
Color |
IndianRed
Gets the color value that represents the IndianRed named color.
Declaration
public static Color IndianRed { get; }
Property Value
Type | Description |
---|---|
Color |
Indigo
Gets the color value that represents the Indigo named color.
Declaration
public static Color Indigo { get; }
Property Value
Type | Description |
---|---|
Color |
Ivory
Gets the color value that represents the Ivory named color.
Declaration
public static Color Ivory { get; }
Property Value
Type | Description |
---|---|
Color |
Khaki
Gets the color value that represents the Khaki named color.
Declaration
public static Color Khaki { get; }
Property Value
Type | Description |
---|---|
Color |
Lavender
Gets the color value that represents the Lavender named color.
Declaration
public static Color Lavender { get; }
Property Value
Type | Description |
---|---|
Color |
LavenderBlush
Gets the color value that represents the LavenderBlush named color.
Declaration
public static Color LavenderBlush { get; }
Property Value
Type | Description |
---|---|
Color |
LawnGreen
Gets the color value that represents the LawnGreen named color.
Declaration
public static Color LawnGreen { get; }
Property Value
Type | Description |
---|---|
Color |
LemonChiffon
Gets the color value that represents the LemonChiffon named color.
Declaration
public static Color LemonChiffon { get; }
Property Value
Type | Description |
---|---|
Color |
LightBlue
Gets the color value that represents the LightBlue named color.
Declaration
public static Color LightBlue { get; }
Property Value
Type | Description |
---|---|
Color |
LightCoral
Gets the color value that represents the LightCoral named color.
Declaration
public static Color LightCoral { get; }
Property Value
Type | Description |
---|---|
Color |
LightCyan
Gets the color value that represents the LightCyan named color.
Declaration
public static Color LightCyan { get; }
Property Value
Type | Description |
---|---|
Color |
LightGoldenrodYellow
Gets the color value that represents the LightGoldenrodYellow named color.
Declaration
public static Color LightGoldenrodYellow { get; }
Property Value
Type | Description |
---|---|
Color |
LightGray
Gets the color value that represents the LightGray named color.
Declaration
public static Color LightGray { get; }
Property Value
Type | Description |
---|---|
Color |
LightGreen
Gets the color value that represents the LightGreen named color.
Declaration
public static Color LightGreen { get; }
Property Value
Type | Description |
---|---|
Color |
LightPink
Gets the color value that represents the LightPink named color.
Declaration
public static Color LightPink { get; }
Property Value
Type | Description |
---|---|
Color |
LightSalmon
Gets the color value that represents the LightSalmon named color.
Declaration
public static Color LightSalmon { get; }
Property Value
Type | Description |
---|---|
Color |
LightSeaGreen
Gets the color value that represents the LightSeaGreen named color.
Declaration
public static Color LightSeaGreen { get; }
Property Value
Type | Description |
---|---|
Color |
LightSkyBlue
Gets the color value that represents the LightSkyBlue named color.
Declaration
public static Color LightSkyBlue { get; }
Property Value
Type | Description |
---|---|
Color |
LightSlateGray
Gets the color value that represents the LightSlateGray named color.
Declaration
public static Color LightSlateGray { get; }
Property Value
Type | Description |
---|---|
Color |
LightSteelBlue
Gets the color value that represents the LightSteelBlue named color.
Declaration
public static Color LightSteelBlue { get; }
Property Value
Type | Description |
---|---|
Color |
LightYellow
Gets the color value that represents the LightYellow named color.
Declaration
public static Color LightYellow { get; }
Property Value
Type | Description |
---|---|
Color |
Lime
Gets the color value that represents the Lime named color.
Declaration
public static Color Lime { get; }
Property Value
Type | Description |
---|---|
Color |
LimeGreen
Gets the color value that represents the LimeGreen named color.
Declaration
public static Color LimeGreen { get; }
Property Value
Type | Description |
---|---|
Color |
Linen
Gets the color value that represents the Linen named color.
Declaration
public static Color Linen { get; }
Property Value
Type | Description |
---|---|
Color |
Magenta
Gets the color value that represents the Magenta named color.
Declaration
public static Color Magenta { get; }
Property Value
Type | Description |
---|---|
Color |
Maroon
Gets the color value that represents the Maroon named color.
Declaration
public static Color Maroon { get; }
Property Value
Type | Description |
---|---|
Color |
MediumAquamarine
Gets the color value that represents the MediumAquamarine named color.
Declaration
public static Color MediumAquamarine { get; }
Property Value
Type | Description |
---|---|
Color |
MediumBlue
Gets the color value that represents the MediumBlue named color.
Declaration
public static Color MediumBlue { get; }
Property Value
Type | Description |
---|---|
Color |
MediumOrchid
Gets the color value that represents the MediumOrchid named color.
Declaration
public static Color MediumOrchid { get; }
Property Value
Type | Description |
---|---|
Color |
MediumPurple
Gets the color value that represents the MediumPurple named color.
Declaration
public static Color MediumPurple { get; }
Property Value
Type | Description |
---|---|
Color |
MediumSeaGreen
Gets the color value that represents the MediumSeaGreen named color.
Declaration
public static Color MediumSeaGreen { get; }
Property Value
Type | Description |
---|---|
Color |
MediumSlateBlue
Gets the color value that represents the MediumSlateBlue named color.
Declaration
public static Color MediumSlateBlue { get; }
Property Value
Type | Description |
---|---|
Color |
MediumSpringGreen
Gets the color value that represents the MediumSpringGreen named color.
Declaration
public static Color MediumSpringGreen { get; }
Property Value
Type | Description |
---|---|
Color |
MediumTurquoise
Gets the color value that represents the MediumTurquoise named color.
Declaration
public static Color MediumTurquoise { get; }
Property Value
Type | Description |
---|---|
Color |
MediumVioletRed
Gets the color value that represents the MediumVioletRed named color.
Declaration
public static Color MediumVioletRed { get; }
Property Value
Type | Description |
---|---|
Color |
MidnightBlue
Gets the color value that represents the MidnightBlue named color.
Declaration
public static Color MidnightBlue { get; }
Property Value
Type | Description |
---|---|
Color |
MintCream
Gets the color value that represents the MintCream named color.
Declaration
public static Color MintCream { get; }
Property Value
Type | Description |
---|---|
Color |
MistyRose
Gets the color value that represents the MistyRose named color.
Declaration
public static Color MistyRose { get; }
Property Value
Type | Description |
---|---|
Color |
Moccasin
Gets the color value that represents the Moccasin named color.
Declaration
public static Color Moccasin { get; }
Property Value
Type | Description |
---|---|
Color |
NavajoWhite
Gets the color value that represents the NavajoWhite named color.
Declaration
public static Color NavajoWhite { get; }
Property Value
Type | Description |
---|---|
Color |
Navy
Gets the color value that represents the Navy named color.
Declaration
public static Color Navy { get; }
Property Value
Type | Description |
---|---|
Color |
OldLace
Gets the color value that represents the OldLace named color.
Declaration
public static Color OldLace { get; }
Property Value
Type | Description |
---|---|
Color |
Olive
Gets the color value that represents the Olive named color.
Declaration
public static Color Olive { get; }
Property Value
Type | Description |
---|---|
Color |
OliveDrab
Gets the color value that represents the OliveDrab named color.
Declaration
public static Color OliveDrab { get; }
Property Value
Type | Description |
---|---|
Color |
Orange
Gets the color value that represents the Orange named color.
Declaration
public static Color Orange { get; }
Property Value
Type | Description |
---|---|
Color |
OrangeRed
Gets the color value that represents the OrangeRed named color.
Declaration
public static Color OrangeRed { get; }
Property Value
Type | Description |
---|---|
Color |
Orchid
Gets the color value that represents the Orchid named color.
Declaration
public static Color Orchid { get; }
Property Value
Type | Description |
---|---|
Color |
PaleGoldenrod
Gets the color value that represents the PaleGoldenrod named color.
Declaration
public static Color PaleGoldenrod { get; }
Property Value
Type | Description |
---|---|
Color |
PaleGreen
Gets the color value that represents the PaleGreen named color.
Declaration
public static Color PaleGreen { get; }
Property Value
Type | Description |
---|---|
Color |
PaleTurquoise
Gets the color value that represents the PaleTurquoise named color.
Declaration
public static Color PaleTurquoise { get; }
Property Value
Type | Description |
---|---|
Color |
PaleVioletRed
Gets the color value that represents the PaleVioletRed named color.
Declaration
public static Color PaleVioletRed { get; }
Property Value
Type | Description |
---|---|
Color |
PapayaWhip
Gets the color value that represents the PapayaWhip named color.
Declaration
public static Color PapayaWhip { get; }
Property Value
Type | Description |
---|---|
Color |
PeachPuff
Gets the color value that represents the PeachPuff named color.
Declaration
public static Color PeachPuff { get; }
Property Value
Type | Description |
---|---|
Color |
Peru
Gets the color value that represents the Peru named color.
Declaration
public static Color Peru { get; }
Property Value
Type | Description |
---|---|
Color |
Pink
Gets the color value that represents the Pink named color.
Declaration
public static Color Pink { get; }
Property Value
Type | Description |
---|---|
Color |
Plum
Gets the color value that represents the Plum named color.
Declaration
public static Color Plum { get; }
Property Value
Type | Description |
---|---|
Color |
PowderBlue
Gets the color value that represents the PowderBlue named color.
Declaration
public static Color PowderBlue { get; }
Property Value
Type | Description |
---|---|
Color |
Purple
Gets the color value that represents the Purple named color.
Declaration
public static Color Purple { get; }
Property Value
Type | Description |
---|---|
Color |
Red
Gets the color value that represents the Red named color.
Declaration
public static Color Red { get; }
Property Value
Type | Description |
---|---|
Color |
RosyBrown
Gets the color value that represents the RosyBrown named color.
Declaration
public static Color RosyBrown { get; }
Property Value
Type | Description |
---|---|
Color |
RoyalBlue
Gets the color value that represents the RoyalBlue named color.
Declaration
public static Color RoyalBlue { get; }
Property Value
Type | Description |
---|---|
Color |
SaddleBrown
Gets the color value that represents the SaddleBrown named color.
Declaration
public static Color SaddleBrown { get; }
Property Value
Type | Description |
---|---|
Color |
Salmon
Gets the color value that represents the Salmon named color.
Declaration
public static Color Salmon { get; }
Property Value
Type | Description |
---|---|
Color |
SandyBrown
Gets the color value that represents the SandyBrown named color.
Declaration
public static Color SandyBrown { get; }
Property Value
Type | Description |
---|---|
Color |
SeaGreen
Gets the color value that represents the SeaGreen named color.
Declaration
public static Color SeaGreen { get; }
Property Value
Type | Description |
---|---|
Color |
SeaShell
Gets the color value that represents the SeaShell named color.
Declaration
public static Color SeaShell { get; }
Property Value
Type | Description |
---|---|
Color |
Sienna
Gets the color value that represents the Sienna named color.
Declaration
public static Color Sienna { get; }
Property Value
Type | Description |
---|---|
Color |
Silver
Gets the color value that represents the Silver named color.
Declaration
public static Color Silver { get; }
Property Value
Type | Description |
---|---|
Color |
SkyBlue
Gets the color value that represents the SkyBlue named color.
Declaration
public static Color SkyBlue { get; }
Property Value
Type | Description |
---|---|
Color |
SlateBlue
Gets the color value that represents the SlateBlue named color.
Declaration
public static Color SlateBlue { get; }
Property Value
Type | Description |
---|---|
Color |
SlateGray
Gets the color value that represents the SlateGray named color.
Declaration
public static Color SlateGray { get; }
Property Value
Type | Description |
---|---|
Color |
Snow
Gets the color value that represents the Snow named color.
Declaration
public static Color Snow { get; }
Property Value
Type | Description |
---|---|
Color |
SpringGreen
Gets the color value that represents the SpringGreen named color.
Declaration
public static Color SpringGreen { get; }
Property Value
Type | Description |
---|---|
Color |
SteelBlue
Gets the color value that represents the SteelBlue named color.
Declaration
public static Color SteelBlue { get; }
Property Value
Type | Description |
---|---|
Color |
Tan
Gets the color value that represents the Tan named color.
Declaration
public static Color Tan { get; }
Property Value
Type | Description |
---|---|
Color |
Teal
Gets the color value that represents the Teal named color.
Declaration
public static Color Teal { get; }
Property Value
Type | Description |
---|---|
Color |
Thistle
Gets the color value that represents the Thistle named color.
Declaration
public static Color Thistle { get; }
Property Value
Type | Description |
---|---|
Color |
Tomato
Gets the color value that represents the Tomato named color.
Declaration
public static Color Tomato { get; }
Property Value
Type | Description |
---|---|
Color |
Transparent
Gets the color value that represents the Transparent named color.
Declaration
public static Color Transparent { get; }
Property Value
Type | Description |
---|---|
Color |
Turquoise
Gets the color value that represents the Turquoise named color.
Declaration
public static Color Turquoise { get; }
Property Value
Type | Description |
---|---|
Color |
Violet
Gets the color value that represents the Violet named color.
Declaration
public static Color Violet { get; }
Property Value
Type | Description |
---|---|
Color |
Wheat
Gets the color value that represents the Wheat named color.
Declaration
public static Color Wheat { get; }
Property Value
Type | Description |
---|---|
Color |
White
Gets the color value that represents the White named color.
Declaration
public static Color White { get; }
Property Value
Type | Description |
---|---|
Color |
WhiteSmoke
Gets the color value that represents the WhiteSmoke named color.
Declaration
public static Color WhiteSmoke { get; }
Property Value
Type | Description |
---|---|
Color |
Yellow
Gets the color value that represents the Yellow named color.
Declaration
public static Color Yellow { get; }
Property Value
Type | Description |
---|---|
Color |
YellowGreen
Gets the color value that represents the YellowGreen named color.
Declaration
public static Color YellowGreen { get; }
Property Value
Type | Description |
---|---|
Color |