Colors class
TOC
Collapse the table of content
Expand the table of content

Colors class

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

Syntax


var colors = Windows.UI.Colors;

Members

The Colors class has these types of members:

Methods

The Colors class inherits methods from the Object class (C#/VB/C++).

Properties

The Colors class has these properties.

PropertyAccess typeDescription

AliceBlue

Read-only

Gets the color value that represents the AliceBlue named color.

AntiqueWhite

Read-only

Gets the color value that represents the AntiqueWhite named color.

Aqua

Read-only

Gets the color value that represents the Aqua named color.

Aquamarine

Read-only

Gets the color value that represents the Aquamarine named color.

Azure

Read-only

Gets the color value that represents the Azure named color.

Beige

Read-only

Gets the color value that represents the Beige named color.

Bisque

Read-only

Gets the color value that represents the Bisque named color.

Black

Read-only

Gets the system-defined color that has the ARGB value of #FF000000.

BlanchedAlmond

Read-only

Gets the color value that represents the BlanchedAlmond named color.

Blue

Read-only

Gets the system-defined color that has the ARGB value of #FF0000FF.

BlueViolet

Read-only

Gets the color value that represents the BlueViolet named color.

Brown

Read-only

Gets the system-defined color that has the ARGB value of #FFA52A2A.

BurlyWood

Read-only

Gets the color value that represents the BurlyWood named color.

CadetBlue

Read-only

Gets the color value that represents the CadetBlue named color.

Chartreuse

Read-only

Gets the color value that represents the Chartreuse named color.

Chocolate

Read-only

Gets the color value that represents the Chocolate named color.

Coral

Read-only

Gets the color value that represents the Coral named color.

CornflowerBlue

Read-only

Gets the color value that represents the CornflowerBlue named color.

Cornsilk

Read-only

Gets the color value that represents the Cornsilk named color.

Crimson

Read-only

Gets the color value that represents the Crimson named color.

Cyan

Read-only

Gets the system-defined color that has the ARGB value of #FF00FFFF.

DarkBlue

Read-only

Gets the color value that represents the DarkBlue named color.

DarkCyan

Read-only

Gets the color value that represents the DarkCyan named color.

DarkGoldenrod

Read-only

Gets the color value that represents the DarkGoldenrod named color.

DarkGray

Read-only

Gets the system-defined color that has the ARGB value of #FFA9A9A9.

DarkGreen

Read-only

Gets the color value that represents the DarkGreen named color.

DarkKhaki

Read-only

Gets the color value that represents the DarkKhaki named color.

DarkMagenta

Read-only

Gets the color value that represents the DarkMagenta named color.

DarkOliveGreen

Read-only

Gets the color value that represents the DarkOliveGreen named color.

DarkOrange

Read-only

Gets the color value that represents the DarkOrange named color.

DarkOrchid

Read-only

Gets the color value that represents the DarkOrchid named color.

DarkRed

Read-only

Gets the color value that represents the DarkRed named color.

DarkSalmon

Read-only

Gets the color value that represents the DarkSalmon named color.

DarkSeaGreen

Read-only

Gets the color value that represents the DarkSeaGreen named color.

DarkSlateBlue

Read-only

Gets the color value that represents the DarkSlateBlue named color.

DarkSlateGray

Read-only

Gets the color value that represents the DarkSlateGray named color.

DarkTurquoise

Read-only

Gets the color value that represents the DarkTurquoise named color.

DarkViolet

Read-only

Gets the color value that represents the DarkViolet named color.

DeepPink

Read-only

Gets the color value that represents the DeepPink named color.

DeepSkyBlue

Read-only

Gets the color value that represents the DeepSkyBlue named color.

DimGray

Read-only

Gets the color value that represents the DimGray named color.

DodgerBlue

Read-only

Gets the color value that represents the DodgerBlue named color.

Firebrick

Read-only

Gets the color value that represents the Firebrick named color.

FloralWhite

Read-only

Gets the color value that represents the FloralWhite named color.

ForestGreen

Read-only

Gets the color value that represents the ForestGreen named color.

Fuchsia

Read-only

Gets the color value that represents the Fuchsia named color.

Gainsboro

Read-only

Gets the color value that represents the Gainsboro named color.

GhostWhite

Read-only

Gets the color value that represents the GhostWhite named color.

Gold

Read-only

Gets the color value that represents the Gold named color.

Goldenrod

Read-only

Gets the color value that represents the Goldenrod named color.

Gray

Read-only

Gets the system-defined color that has the ARGB value of #FF808080.

Green

Read-only

Gets the system-defined color that has the ARGB value of #FF008000.

GreenYellow

Read-only

Gets the color value that represents the GreenYellow named color.

Honeydew

Read-only

Gets the color value that represents the Honeydew named color.

HotPink

Read-only

Gets the color value that represents the HotPink named color.

IndianRed

Read-only

Gets the color value that represents the IndianRed named color.

Indigo

Read-only

Gets the color value that represents the Indigo named color.

Ivory

Read-only

Gets the color value that represents the Ivory named color.

Khaki

Read-only

Gets the color value that represents the Khaki named color.

Lavender

Read-only

Gets the color value that represents the Lavender named color.

LavenderBlush

Read-only

Gets the color value that represents the LavenderBlush named color.

LawnGreen

Read-only

Gets the color value that represents the LawnGreen named color.

LemonChiffon

Read-only

Gets the color value that represents the LemonChiffon named color.

LightBlue

Read-only

Gets the color value that represents the LightBlue named color.

LightCoral

Read-only

Gets the color value that represents the LightCoral named color.

LightCyan

Read-only

Gets the color value that represents the LightCyan named color.

LightGoldenrodYellow

Read-only

Gets the color value that represents the LightGoldenrodYellow named color.

LightGray

Read-only

Gets the system-defined color that has the ARGB value of #FFD3D3D3.

LightGreen

Read-only

Gets the color value that represents the LightGreen named color.

LightPink

Read-only

Gets the color value that represents the LightPink named color.

LightSalmon

Read-only

Gets the color value that represents the LightSalmon named color.

LightSeaGreen

Read-only

Gets the color value that represents the LightSeaGreen named color.

LightSkyBlue

Read-only

Gets the color value that represents the LightSkyBlue named color.

LightSlateGray

Read-only

Gets the color value that represents the LightSlateGray named color.

LightSteelBlue

Read-only

Gets the color value that represents the LightSteelBlue named color.

LightYellow

Read-only

Gets the color value that represents the LightYellow named color.

Lime

Read-only

Gets the color value that represents the Lime named color.

LimeGreen

Read-only

Gets the color value that represents the LimeGreen named color.

Linen

Read-only

Gets the color value that represents the Linen named color.

Magenta

Read-only

Gets the system-defined color that has the ARGB value of #FFFF00FF..

Maroon

Read-only

Gets the color value that represents the Maroon named color.

MediumAquamarine

Read-only

Gets the color value that represents the MediumAquamarine named color.

MediumBlue

Read-only

Gets the color value that represents the MediumBlue named color.

MediumOrchid

Read-only

Gets the color value that represents the MediumOrchid named color.

MediumPurple

Read-only

Gets the color value that represents the MediumPurple named color.

MediumSeaGreen

Read-only

Gets the color value that represents the MediumSeaGreen named color.

MediumSlateBlue

Read-only

Gets the color value that represents the MediumSlateBlue named color.

MediumSpringGreen

Read-only

Gets the color value that represents the MediumSpringGreen named color.

MediumTurquoise

Read-only

Gets the color value that represents the MediumTurquoise named color.

MediumVioletRed

Read-only

Gets the color value that represents the MediumVioletRed named color.

MidnightBlue

Read-only

Gets the color value that represents the MidnightBlue named color.

MintCream

Read-only

Gets the color value that represents the MintCream named color.

MistyRose

Read-only

Gets the color value that represents the MistyRose named color.

Moccasin

Read-only

Gets the color value that represents the Moccasin named color.

NavajoWhite

Read-only

Gets the color value that represents the NavajoWhite named color.

Navy

Read-only

Gets the color value that represents the Navy named color.

OldLace

Read-only

Gets the color value that represents the OldLace named color.

Olive

Read-only

Gets the color value that represents the Olive named color.

OliveDrab

Read-only

Gets the color value that represents the OliveDrab named color.

Orange

Read-only

Gets the system-defined color that has the ARGB value of #FFFFA500..

OrangeRed

Read-only

Gets the color value that represents the OrangeRed named color.

Orchid

Read-only

Gets the color value that represents the Orchid named color.

PaleGoldenrod

Read-only

Gets the color value that represents the PaleGoldenrod named color.

PaleGreen

Read-only

Gets the color value that represents the PaleGreen named color.

PaleTurquoise

Read-only

Gets the color value that represents the PaleTurquoise named color.

PaleVioletRed

Read-only

Gets the color value that represents the PaleVioletRed named color.

PapayaWhip

Read-only

Gets the color value that represents the PapayaWhip named color.

PeachPuff

Read-only

Gets the color value that represents the PeachPuff named color.

Peru

Read-only

Gets the color value that represents the Peru named color.

Pink

Read-only

Gets the color value that represents the Pink named color.

Plum

Read-only

Gets the color value that represents the Plum named color.

PowderBlue

Read-only

Gets the color value that represents the PowderBlue named color.

Purple

Read-only

Gets the system-defined color that has the ARGB value of #FF800080..

Red

Read-only

Gets the system-defined color that has the ARGB value of #FFFF0000.

RosyBrown

Read-only

Gets the color value that represents the RosyBrown named color.

RoyalBlue

Read-only

Gets the color value that represents the RoyalBlue named color.

SaddleBrown

Read-only

Gets the color value that represents the SaddleBrown named color.

Salmon

Read-only

Gets the color value that represents the Salmon named color.

SandyBrown

Read-only

Gets the color value that represents the SandyBrown named color.

SeaGreen

Read-only

Gets the color value that represents the SeaGreen named color.

SeaShell

Read-only

Gets the color value that represents the SeaShell named color.

Sienna

Read-only

Gets the color value that represents the Sienna named color.

Silver

Read-only

Gets the color value that represents the Silver named color.

SkyBlue

Read-only

Gets the color value that represents the SkyBlue named color.

SlateBlue

Read-only

Gets the color value that represents the SlateBlue named color.

SlateGray

Read-only

Gets the color value that represents the SlateGray named color.

Snow

Read-only

Gets the color value that represents the Snow named color.

SpringGreen

Read-only

Gets the color value that represents the SpringGreen named color.

SteelBlue

Read-only

Gets the color value that represents the SteelBlue named color.

Tan

Read-only

Gets the color value that represents the Tan named color.

Teal

Read-only

Gets the color value that represents the Teal named color.

Thistle

Read-only

Gets the color value that represents the Thistle named color.

Tomato

Read-only

Gets the color value that represents the Tomato named color.

Transparent

Read-only

Gets the system-defined color that has the ARGB value of #00FFFFFF.

Turquoise

Read-only

Gets the color value that represents the Turquoise named color.

Violet

Read-only

Gets the color value that represents the Violet named color.

Wheat

Read-only

Gets the color value that represents the Wheat named color.

White

Read-only

Gets the system-defined color that has the ARGB value of #FFFFFFFF.

WhiteSmoke

Read-only

Gets the color value that represents the WhiteSmoke named color.

Yellow

Read-only

Gets the system-defined color that has the ARGB value of #FFFFFF00.

YellowGreen

Read-only

Gets the color value that represents the YellowGreen named color.

 

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.UI
Windows::UI [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.UI
Windows::UI [C++]

Metadata

Windows.winmd

Attributes

[MarshalingBehavior(Agile)]
[Muse()]
[Threading(Both)]
[Version(0x06020000)]

See also

Object

 

 

Show:
© 2016 Microsoft