Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
1 out of 9 rated this helpful - Rate this topic

Colors class

Applies to Windows and Windows Phone

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

Syntax


var colors = Windows.UI.Colors;

Attributes

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

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-onlyGets the color value that represents the AliceBlue named color.

AntiqueWhite

Read-onlyGets the color value that represents the AntiqueWhite named color.

Aqua

Read-onlyGets the color value that represents the Aqua named color.

Aquamarine

Read-onlyGets the color value that represents the Aquamarine named color.

Azure

Read-onlyGets the color value that represents the Azure named color.

Beige

Read-onlyGets the color value that represents the Beige named color.

Bisque

Read-onlyGets the color value that represents the Bisque named color.

Black

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

BlanchedAlmond

Read-onlyGets the color value that represents the BlanchedAlmond named color.

Blue

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

BlueViolet

Read-onlyGets the color value that represents the BlueViolet named color.

Brown

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

BurlyWood

Read-onlyGets the color value that represents the BurlyWood named color.

CadetBlue

Read-onlyGets the color value that represents the CadetBlue named color.

Chartreuse

Read-onlyGets the color value that represents the Chartreuse named color.

Chocolate

Read-onlyGets the color value that represents the Chocolate named color.

Coral

Read-onlyGets the color value that represents the Coral named color.

CornflowerBlue

Read-onlyGets the color value that represents the CornflowerBlue named color.

Cornsilk

Read-onlyGets the color value that represents the Cornsilk named color.

Crimson

Read-onlyGets the color value that represents the Crimson named color.

Cyan

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

DarkBlue

Read-onlyGets the color value that represents the DarkBlue named color.

DarkCyan

Read-onlyGets the color value that represents the DarkCyan named color.

DarkGoldenrod

Read-onlyGets the color value that represents the DarkGoldenrod named color.

DarkGray

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

DarkGreen

Read-onlyGets the color value that represents the DarkGreen named color.

DarkKhaki

Read-onlyGets the color value that represents the DarkKhaki named color.

DarkMagenta

Read-onlyGets the color value that represents the DarkMagenta named color.

DarkOliveGreen

Read-onlyGets the color value that represents the DarkOliveGreen named color.

DarkOrange

Read-onlyGets the color value that represents the DarkOrange named color.

DarkOrchid

Read-onlyGets the color value that represents the DarkOrchid named color.

DarkRed

Read-onlyGets the color value that represents the DarkRed named color.

DarkSalmon

Read-onlyGets the color value that represents the DarkSalmon named color.

DarkSeaGreen

Read-onlyGets the color value that represents the DarkSeaGreen named color.

DarkSlateBlue

Read-onlyGets the color value that represents the DarkSlateBlue named color.

DarkSlateGray

Read-onlyGets the color value that represents the DarkSlateGray named color.

DarkTurquoise

Read-onlyGets the color value that represents the DarkTurquoise named color.

DarkViolet

Read-onlyGets the color value that represents the DarkViolet named color.

DeepPink

Read-onlyGets the color value that represents the DeepPink named color.

DeepSkyBlue

Read-onlyGets the color value that represents the DeepSkyBlue named color.

DimGray

Read-onlyGets the color value that represents the DimGray named color.

DodgerBlue

Read-onlyGets the color value that represents the DodgerBlue named color.

Firebrick

Read-onlyGets the color value that represents the Firebrick named color.

FloralWhite

Read-onlyGets the color value that represents the FloralWhite named color.

ForestGreen

Read-onlyGets the color value that represents the ForestGreen named color.

Fuchsia

Read-onlyGets the color value that represents the Fuchsia named color.

Gainsboro

Read-onlyGets the color value that represents the Gainsboro named color.

GhostWhite

Read-onlyGets the color value that represents the GhostWhite named color.

Gold

Read-onlyGets the color value that represents the Gold named color.

Goldenrod

Read-onlyGets the color value that represents the Goldenrod named color.

Gray

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

Green

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

GreenYellow

Read-onlyGets the color value that represents the GreenYellow named color.

Honeydew

Read-onlyGets the color value that represents the Honeydew named color.

HotPink

Read-onlyGets the color value that represents the HotPink named color.

IndianRed

Read-onlyGets the color value that represents the IndianRed named color.

Indigo

Read-onlyGets the color value that represents the Indigo named color.

Ivory

Read-onlyGets the color value that represents the Ivory named color.

Khaki

Read-onlyGets the color value that represents the Khaki named color.

Lavender

Read-onlyGets the color value that represents the Lavender named color.

LavenderBlush

Read-onlyGets the color value that represents the LavenderBlush named color.

LawnGreen

Read-onlyGets the color value that represents the LawnGreen named color.

LemonChiffon

Read-onlyGets the color value that represents the LemonChiffon named color.

LightBlue

Read-onlyGets the color value that represents the LightBlue named color.

LightCoral

Read-onlyGets the color value that represents the LightCoral named color.

LightCyan

Read-onlyGets the color value that represents the LightCyan named color.

LightGoldenrodYellow

Read-onlyGets the color value that represents the LightGoldenrodYellow named color.

LightGray

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

LightGreen

Read-onlyGets the color value that represents the LightGreen named color.

LightPink

Read-onlyGets the color value that represents the LightPink named color.

LightSalmon

Read-onlyGets the color value that represents the LightSalmon named color.

LightSeaGreen

Read-onlyGets the color value that represents the LightSeaGreen named color.

LightSkyBlue

Read-onlyGets the color value that represents the LightSkyBlue named color.

LightSlateGray

Read-onlyGets the color value that represents the LightSlateGray named color.

LightSteelBlue

Read-onlyGets the color value that represents the LightSteelBlue named color.

LightYellow

Read-onlyGets the color value that represents the LightYellow named color.

Lime

Read-onlyGets the color value that represents the Lime named color.

LimeGreen

Read-onlyGets the color value that represents the LimeGreen named color.

Linen

Read-onlyGets the color value that represents the Linen named color.

Magenta

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

Maroon

Read-onlyGets the color value that represents the Maroon named color.

MediumAquamarine

Read-onlyGets the color value that represents the MediumAquamarine named color.

MediumBlue

Read-onlyGets the color value that represents the MediumBlue named color.

MediumOrchid

Read-onlyGets the color value that represents the MediumOrchid named color.

MediumPurple

Read-onlyGets the color value that represents the MediumPurple named color.

MediumSeaGreen

Read-onlyGets the color value that represents the MediumSeaGreen named color.

MediumSlateBlue

Read-onlyGets the color value that represents the MediumSlateBlue named color.

MediumSpringGreen

Read-onlyGets the color value that represents the MediumSpringGreen named color.

MediumTurquoise

Read-onlyGets the color value that represents the MediumTurquoise named color.

MediumVioletRed

Read-onlyGets the color value that represents the MediumVioletRed named color.

MidnightBlue

Read-onlyGets the color value that represents the MidnightBlue named color.

MintCream

Read-onlyGets the color value that represents the MintCream named color.

MistyRose

Read-onlyGets the color value that represents the MistyRose named color.

Moccasin

Read-onlyGets the color value that represents the Moccasin named color.

NavajoWhite

Read-onlyGets the color value that represents the NavajoWhite named color.

Navy

Read-onlyGets the color value that represents the Navy named color.

OldLace

Read-onlyGets the color value that represents the OldLace named color.

Olive

Read-onlyGets the color value that represents the Olive named color.

OliveDrab

Read-onlyGets the color value that represents the OliveDrab named color.

Orange

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

OrangeRed

Read-onlyGets the color value that represents the OrangeRed named color.

Orchid

Read-onlyGets the color value that represents the Orchid named color.

PaleGoldenrod

Read-onlyGets the color value that represents the PaleGoldenrod named color.

PaleGreen

Read-onlyGets the color value that represents the PaleGreen named color.

PaleTurquoise

Read-onlyGets the color value that represents the PaleTurquoise named color.

PaleVioletRed

Read-onlyGets the color value that represents the PaleVioletRed named color.

PapayaWhip

Read-onlyGets the color value that represents the PapayaWhip named color.

PeachPuff

Read-onlyGets the color value that represents the PeachPuff named color.

Peru

Read-onlyGets the color value that represents the Peru named color.

Pink

Read-onlyGets the color value that represents the Pink named color.

Plum

Read-onlyGets the color value that represents the Plum named color.

PowderBlue

Read-onlyGets the color value that represents the PowderBlue named color.

Purple

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

Red

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

RosyBrown

Read-onlyGets the color value that represents the RosyBrown named color.

RoyalBlue

Read-onlyGets the color value that represents the RoyalBlue named color.

SaddleBrown

Read-onlyGets the color value that represents the SaddleBrown named color.

Salmon

Read-onlyGets the color value that represents the Salmon named color.

SandyBrown

Read-onlyGets the color value that represents the SandyBrown named color.

SeaGreen

Read-onlyGets the color value that represents the SeaGreen named color.

SeaShell

Read-onlyGets the color value that represents the SeaShell named color.

Sienna

Read-onlyGets the color value that represents the Sienna named color.

Silver

Read-onlyGets the color value that represents the Silver named color.

SkyBlue

Read-onlyGets the color value that represents the SkyBlue named color.

SlateBlue

Read-onlyGets the color value that represents the SlateBlue named color.

SlateGray

Read-onlyGets the color value that represents the SlateGray named color.

Snow

Read-onlyGets the color value that represents the Snow named color.

SpringGreen

Read-onlyGets the color value that represents the SpringGreen named color.

SteelBlue

Read-onlyGets the color value that represents the SteelBlue named color.

Tan

Read-onlyGets the color value that represents the Tan named color.

Teal

Read-onlyGets the color value that represents the Teal named color.

Thistle

Read-onlyGets the color value that represents the Thistle named color.

Tomato

Read-onlyGets the color value that represents the Tomato named color.

Transparent

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

Turquoise

Read-onlyGets the color value that represents the Turquoise named color.

Violet

Read-onlyGets the color value that represents the Violet named color.

Wheat

Read-onlyGets the color value that represents the Wheat named color.

White

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

WhiteSmoke

Read-onlyGets the color value that represents the WhiteSmoke named color.

Yellow

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

YellowGreen

Read-onlyGets the color value that represents the YellowGreen named color.

 

Requirements

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

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.