Show / Hide Table of Contents

Class Colors

Implements a set of predefined colors. See Color for usage information.

Inheritance
System.Object
Colors
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Media
Assembly: OpenSilver.dll
Syntax
public static class Colors

Properties

| Improve this Doc View Source

AliceBlue

Gets the color value that represents the AliceBlue named color.

Declaration
public static Color AliceBlue { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

AntiqueWhite

Gets the color value that represents the AntiqueWhite named color.

Declaration
public static Color AntiqueWhite { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Aqua

Gets the color value that represents the Aqua named color.

Declaration
public static Color Aqua { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Aquamarine

Gets the color value that represents the Aquamarine named color.

Declaration
public static Color Aquamarine { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Azure

Gets the color value that represents the Azure named color.

Declaration
public static Color Azure { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Beige

Gets the color value that represents the Beige named color.

Declaration
public static Color Beige { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Bisque

Gets the color value that represents the Bisque named color.

Declaration
public static Color Bisque { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Black

Gets the color value that represents the Black named color.

Declaration
public static Color Black { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

BlanchedAlmond

Gets the color value that represents the BlanchedAlmond named color.

Declaration
public static Color BlanchedAlmond { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Blue

Gets the color value that represents the Blue named color.

Declaration
public static Color Blue { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

BlueViolet

Gets the color value that represents the BlueViolet named color.

Declaration
public static Color BlueViolet { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Brown

Gets the color value that represents the Brown named color.

Declaration
public static Color Brown { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

BurlyWood

Gets the color value that represents the BurlyWood named color.

Declaration
public static Color BurlyWood { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

CadetBlue

Gets the color value that represents the CadetBlue named color.

Declaration
public static Color CadetBlue { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Chartreuse

Gets the color value that represents the Chartreuse named color.

Declaration
public static Color Chartreuse { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Chocolate

Gets the color value that represents the Chocolate named color.

Declaration
public static Color Chocolate { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Coral

Gets the color value that represents the Coral named color.

Declaration
public static Color Coral { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

CornflowerBlue

Gets the color value that represents the CornflowerBlue named color.

Declaration
public static Color CornflowerBlue { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Cornsilk

Gets the color value that represents the Cornsilk named color.

Declaration
public static Color Cornsilk { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Crimson

Gets the color value that represents the Crimson named color.

Declaration
public static Color Crimson { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Cyan

Gets the color value that represents the Cyan named color.

Declaration
public static Color Cyan { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

DarkBlue

Gets the color value that represents the DarkBlue named color.

Declaration
public static Color DarkBlue { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

DarkCyan

Gets the color value that represents the DarkCyan named color.

Declaration
public static Color DarkCyan { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

DarkGoldenrod

Gets the color value that represents the DarkGoldenrod named color.

Declaration
public static Color DarkGoldenrod { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

DarkGray

Gets the color value that represents the DarkGray named color.

Declaration
public static Color DarkGray { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

DarkGreen

Gets the color value that represents the DarkGreen named color.

Declaration
public static Color DarkGreen { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

DarkKhaki

Gets the color value that represents the DarkKhaki named color.

Declaration
public static Color DarkKhaki { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

DarkMagenta

Gets the color value that represents the DarkMagenta named color.

Declaration
public static Color DarkMagenta { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

DarkOliveGreen

Gets the color value that represents the DarkOliveGreen named color.

Declaration
public static Color DarkOliveGreen { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

DarkOrange

Gets the color value that represents the DarkOrange named color.

Declaration
public static Color DarkOrange { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

DarkOrchid

Gets the color value that represents the DarkOrchid named color.

Declaration
public static Color DarkOrchid { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

DarkRed

Gets the color value that represents the DarkRed named color.

Declaration
public static Color DarkRed { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

DarkSalmon

Gets the color value that represents the DarkSalmon named color.

Declaration
public static Color DarkSalmon { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

DarkSeaGreen

Gets the color value that represents the DarkSeaGreen named color.

Declaration
public static Color DarkSeaGreen { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

DarkSlateBlue

Gets the color value that represents the DarkSlateBlue named color.

Declaration
public static Color DarkSlateBlue { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

DarkSlateGray

Gets the color value that represents the DarkSlateGray named color.

Declaration
public static Color DarkSlateGray { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

DarkTurquoise

Gets the color value that represents the DarkTurquoise named color.

Declaration
public static Color DarkTurquoise { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

DarkViolet

Gets the color value that represents the DarkViolet named color.

Declaration
public static Color DarkViolet { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

DeepPink

Gets the color value that represents the DeepPink named color.

Declaration
public static Color DeepPink { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

DeepSkyBlue

Gets the color value that represents the DeepSkyBlue named color.

Declaration
public static Color DeepSkyBlue { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

DimGray

Gets the color value that represents the DimGray named color.

Declaration
public static Color DimGray { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

DodgerBlue

Gets the color value that represents the DodgerBlue named color.

Declaration
public static Color DodgerBlue { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Firebrick

Gets the color value that represents the Firebrick named color.

Declaration
public static Color Firebrick { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

FloralWhite

Gets the color value that represents the FloralWhite named color.

Declaration
public static Color FloralWhite { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

ForestGreen

Gets the color value that represents the ForestGreen named color.

Declaration
public static Color ForestGreen { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Fuchsia

Gets the color value that represents the Fuchsia named color.

Declaration
public static Color Fuchsia { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Gainsboro

Gets the color value that represents the Gainsboro named color.

Declaration
public static Color Gainsboro { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

GhostWhite

Gets the color value that represents the GhostWhite named color.

Declaration
public static Color GhostWhite { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Gold

Gets the color value that represents the Gold named color.

Declaration
public static Color Gold { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Goldenrod

Gets the color value that represents the Goldenrod named color.

Declaration
public static Color Goldenrod { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Gray

Gets the color value that represents the Gray named color.

Declaration
public static Color Gray { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Green

Gets the color value that represents the Green named color.

Declaration
public static Color Green { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

GreenYellow

Gets the color value that represents the GreenYellow named color.

Declaration
public static Color GreenYellow { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Honeydew

Gets the color value that represents the Honeydew named color.

Declaration
public static Color Honeydew { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

HotPink

Gets the color value that represents the HotPink named color.

Declaration
public static Color HotPink { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

IndianRed

Gets the color value that represents the IndianRed named color.

Declaration
public static Color IndianRed { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Indigo

Gets the color value that represents the Indigo named color.

Declaration
public static Color Indigo { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Ivory

Gets the color value that represents the Ivory named color.

Declaration
public static Color Ivory { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Khaki

Gets the color value that represents the Khaki named color.

Declaration
public static Color Khaki { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Lavender

Gets the color value that represents the Lavender named color.

Declaration
public static Color Lavender { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

LavenderBlush

Gets the color value that represents the LavenderBlush named color.

Declaration
public static Color LavenderBlush { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

LawnGreen

Gets the color value that represents the LawnGreen named color.

Declaration
public static Color LawnGreen { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

LemonChiffon

Gets the color value that represents the LemonChiffon named color.

Declaration
public static Color LemonChiffon { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

LightBlue

Gets the color value that represents the LightBlue named color.

Declaration
public static Color LightBlue { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

LightCoral

Gets the color value that represents the LightCoral named color.

Declaration
public static Color LightCoral { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

LightCyan

Gets the color value that represents the LightCyan named color.

Declaration
public static Color LightCyan { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

LightGoldenrodYellow

Gets the color value that represents the LightGoldenrodYellow named color.

Declaration
public static Color LightGoldenrodYellow { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

LightGray

Gets the color value that represents the LightGray named color.

Declaration
public static Color LightGray { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

LightGreen

Gets the color value that represents the LightGreen named color.

Declaration
public static Color LightGreen { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

LightPink

Gets the color value that represents the LightPink named color.

Declaration
public static Color LightPink { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

LightSalmon

Gets the color value that represents the LightSalmon named color.

Declaration
public static Color LightSalmon { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

LightSeaGreen

Gets the color value that represents the LightSeaGreen named color.

Declaration
public static Color LightSeaGreen { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

LightSkyBlue

Gets the color value that represents the LightSkyBlue named color.

Declaration
public static Color LightSkyBlue { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

LightSlateGray

Gets the color value that represents the LightSlateGray named color.

Declaration
public static Color LightSlateGray { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

LightSteelBlue

Gets the color value that represents the LightSteelBlue named color.

Declaration
public static Color LightSteelBlue { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

LightYellow

Gets the color value that represents the LightYellow named color.

Declaration
public static Color LightYellow { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Lime

Gets the color value that represents the Lime named color.

Declaration
public static Color Lime { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

LimeGreen

Gets the color value that represents the LimeGreen named color.

Declaration
public static Color LimeGreen { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Linen

Gets the color value that represents the Linen named color.

Declaration
public static Color Linen { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Magenta

Gets the color value that represents the Magenta named color.

Declaration
public static Color Magenta { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Maroon

Gets the color value that represents the Maroon named color.

Declaration
public static Color Maroon { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

MediumAquamarine

Gets the color value that represents the MediumAquamarine named color.

Declaration
public static Color MediumAquamarine { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

MediumBlue

Gets the color value that represents the MediumBlue named color.

Declaration
public static Color MediumBlue { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

MediumOrchid

Gets the color value that represents the MediumOrchid named color.

Declaration
public static Color MediumOrchid { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

MediumPurple

Gets the color value that represents the MediumPurple named color.

Declaration
public static Color MediumPurple { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

MediumSeaGreen

Gets the color value that represents the MediumSeaGreen named color.

Declaration
public static Color MediumSeaGreen { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

MediumSlateBlue

Gets the color value that represents the MediumSlateBlue named color.

Declaration
public static Color MediumSlateBlue { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

MediumSpringGreen

Gets the color value that represents the MediumSpringGreen named color.

Declaration
public static Color MediumSpringGreen { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

MediumTurquoise

Gets the color value that represents the MediumTurquoise named color.

Declaration
public static Color MediumTurquoise { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

MediumVioletRed

Gets the color value that represents the MediumVioletRed named color.

Declaration
public static Color MediumVioletRed { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

MidnightBlue

Gets the color value that represents the MidnightBlue named color.

Declaration
public static Color MidnightBlue { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

MintCream

Gets the color value that represents the MintCream named color.

Declaration
public static Color MintCream { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

MistyRose

Gets the color value that represents the MistyRose named color.

Declaration
public static Color MistyRose { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Moccasin

Gets the color value that represents the Moccasin named color.

Declaration
public static Color Moccasin { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

NavajoWhite

Gets the color value that represents the NavajoWhite named color.

Declaration
public static Color NavajoWhite { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Navy

Gets the color value that represents the Navy named color.

Declaration
public static Color Navy { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

OldLace

Gets the color value that represents the OldLace named color.

Declaration
public static Color OldLace { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Olive

Gets the color value that represents the Olive named color.

Declaration
public static Color Olive { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

OliveDrab

Gets the color value that represents the OliveDrab named color.

Declaration
public static Color OliveDrab { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Orange

Gets the color value that represents the Orange named color.

Declaration
public static Color Orange { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

OrangeRed

Gets the color value that represents the OrangeRed named color.

Declaration
public static Color OrangeRed { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Orchid

Gets the color value that represents the Orchid named color.

Declaration
public static Color Orchid { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

PaleGoldenrod

Gets the color value that represents the PaleGoldenrod named color.

Declaration
public static Color PaleGoldenrod { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

PaleGreen

Gets the color value that represents the PaleGreen named color.

Declaration
public static Color PaleGreen { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

PaleTurquoise

Gets the color value that represents the PaleTurquoise named color.

Declaration
public static Color PaleTurquoise { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

PaleVioletRed

Gets the color value that represents the PaleVioletRed named color.

Declaration
public static Color PaleVioletRed { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

PapayaWhip

Gets the color value that represents the PapayaWhip named color.

Declaration
public static Color PapayaWhip { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

PeachPuff

Gets the color value that represents the PeachPuff named color.

Declaration
public static Color PeachPuff { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Peru

Gets the color value that represents the Peru named color.

Declaration
public static Color Peru { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Pink

Gets the color value that represents the Pink named color.

Declaration
public static Color Pink { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Plum

Gets the color value that represents the Plum named color.

Declaration
public static Color Plum { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

PowderBlue

Gets the color value that represents the PowderBlue named color.

Declaration
public static Color PowderBlue { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Purple

Gets the color value that represents the Purple named color.

Declaration
public static Color Purple { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Red

Gets the color value that represents the Red named color.

Declaration
public static Color Red { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

RosyBrown

Gets the color value that represents the RosyBrown named color.

Declaration
public static Color RosyBrown { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

RoyalBlue

Gets the color value that represents the RoyalBlue named color.

Declaration
public static Color RoyalBlue { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

SaddleBrown

Gets the color value that represents the SaddleBrown named color.

Declaration
public static Color SaddleBrown { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Salmon

Gets the color value that represents the Salmon named color.

Declaration
public static Color Salmon { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

SandyBrown

Gets the color value that represents the SandyBrown named color.

Declaration
public static Color SandyBrown { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

SeaGreen

Gets the color value that represents the SeaGreen named color.

Declaration
public static Color SeaGreen { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

SeaShell

Gets the color value that represents the SeaShell named color.

Declaration
public static Color SeaShell { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Sienna

Gets the color value that represents the Sienna named color.

Declaration
public static Color Sienna { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Silver

Gets the color value that represents the Silver named color.

Declaration
public static Color Silver { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

SkyBlue

Gets the color value that represents the SkyBlue named color.

Declaration
public static Color SkyBlue { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

SlateBlue

Gets the color value that represents the SlateBlue named color.

Declaration
public static Color SlateBlue { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

SlateGray

Gets the color value that represents the SlateGray named color.

Declaration
public static Color SlateGray { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Snow

Gets the color value that represents the Snow named color.

Declaration
public static Color Snow { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

SpringGreen

Gets the color value that represents the SpringGreen named color.

Declaration
public static Color SpringGreen { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

SteelBlue

Gets the color value that represents the SteelBlue named color.

Declaration
public static Color SteelBlue { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Tan

Gets the color value that represents the Tan named color.

Declaration
public static Color Tan { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Teal

Gets the color value that represents the Teal named color.

Declaration
public static Color Teal { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Thistle

Gets the color value that represents the Thistle named color.

Declaration
public static Color Thistle { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Tomato

Gets the color value that represents the Tomato named color.

Declaration
public static Color Tomato { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Transparent

Gets the color value that represents the Transparent named color.

Declaration
public static Color Transparent { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Turquoise

Gets the color value that represents the Turquoise named color.

Declaration
public static Color Turquoise { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Violet

Gets the color value that represents the Violet named color.

Declaration
public static Color Violet { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Wheat

Gets the color value that represents the Wheat named color.

Declaration
public static Color Wheat { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

White

Gets the color value that represents the White named color.

Declaration
public static Color White { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

WhiteSmoke

Gets the color value that represents the WhiteSmoke named color.

Declaration
public static Color WhiteSmoke { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Yellow

Gets the color value that represents the Yellow named color.

Declaration
public static Color Yellow { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

YellowGreen

Gets the color value that represents the YellowGreen named color.

Declaration
public static Color YellowGreen { get; }
Property Value
Type Description
Color
  • Improve this Doc
  • View Source