Brushes Brushes Brushes Brushes Class

Definition

Implements a set of predefined SolidColorBrush objects.

public ref class Brushes sealed
public sealed class Brushes
type Brushes = class
Public NotInheritable Class Brushes
Inheritance
BrushesBrushesBrushesBrushes

Remarks

Color names in Windows Presentation Foundation match the color names in the .NET Framework, Windows Forms, and Microsoft Internet Explorer. These colors and their names are based on the UNIX X11 color values.

The following image shows the color of each predefined brush, its name, and its hexadecimal value.

Predefined colors
Color table including a color swatch, the color name, and the hexadecimal value

See the Brush class for a variety of other, more complex, ways that you can paint an area. For example, try using gradients (LinearGradientBrush, RadialGradientBrush) or images (ImageBrush).

XAML Text Usage

You cannot declare this managed class in XAML, but you can use its static properties to assign values in XAML.

Properties

AliceBlue AliceBlue AliceBlue AliceBlue

Gets the solid fill color that has a hexadecimal value of #FFF0F8FF.

AntiqueWhite AntiqueWhite AntiqueWhite AntiqueWhite

Gets the solid fill color that has a hexadecimal value of #FFFAEBD7.

Aqua Aqua Aqua Aqua

Gets the solid fill color that has a hexadecimal value of #FF00FFFF.

Aquamarine Aquamarine Aquamarine Aquamarine

Gets the solid fill color that has a hexadecimal value of #FF7FFFD4.

Azure Azure Azure Azure

Gets the solid fill color that has a hexadecimal value of #FFF0FFFF.

Beige Beige Beige Beige

Gets the solid fill color that has a hexadecimal value of #FFF5F5DC.

Bisque Bisque Bisque Bisque

Gets the solid fill color that has a hexadecimal value of #FFFFE4C4.

Black Black Black Black

Gets the solid fill color that has a hexadecimal value of #FF000000.

BlanchedAlmond BlanchedAlmond BlanchedAlmond BlanchedAlmond

Gets the solid fill color that has a hexadecimal value of #FFFFEBCD.

Blue Blue Blue Blue

Gets the solid fill color that has a hexadecimal value of #FF0000FF.

BlueViolet BlueViolet BlueViolet BlueViolet

Gets the solid fill color that has a hexadecimal value of #FF8A2BE2.

Brown Brown Brown Brown

Gets the solid fill color that has a hexadecimal value of #FFA52A2A.

BurlyWood BurlyWood BurlyWood BurlyWood

Gets the solid fill color that has a hexadecimal value of #FFDEB887.

CadetBlue CadetBlue CadetBlue CadetBlue

Gets the solid fill color that has a hexadecimal value of #FF5F9EA0.

Chartreuse Chartreuse Chartreuse Chartreuse

Gets the solid fill color that has a hexadecimal value of #FF7FFF00.

Chocolate Chocolate Chocolate Chocolate

Gets the solid fill color that has a hexadecimal value of #FFD2691E.

Coral Coral Coral Coral

Gets the solid fill color that has a hexadecimal value of #FFFF7F50.

CornflowerBlue CornflowerBlue CornflowerBlue CornflowerBlue

Gets the solid fill color that has a hexadecimal value of #FF6495ED.

Cornsilk Cornsilk Cornsilk Cornsilk

Gets the solid fill color that has a hexadecimal value of #FFFFF8DC.

Crimson Crimson Crimson Crimson

Gets the solid fill color that has a hexadecimal value of #FFDC143C.

Cyan Cyan Cyan Cyan

Gets the solid fill color that has a hexadecimal value of #FF00FFFF.

DarkBlue DarkBlue DarkBlue DarkBlue

Gets the solid fill color that has a hexadecimal value of #FF00008B.

DarkCyan DarkCyan DarkCyan DarkCyan

Gets the solid fill color that has a hexadecimal value of #FF008B8B.

DarkGoldenrod DarkGoldenrod DarkGoldenrod DarkGoldenrod

Gets the solid fill color that has a hexadecimal value of #FFB8860B.

DarkGray DarkGray DarkGray DarkGray

Gets the solid fill color that has a hexadecimal value of #FFA9A9A9.

DarkGreen DarkGreen DarkGreen DarkGreen

Gets the solid fill color that has a hexadecimal value of #FF006400.

DarkKhaki DarkKhaki DarkKhaki DarkKhaki

Gets the solid fill color that has a hexadecimal value of #FFBDB76B.

DarkMagenta DarkMagenta DarkMagenta DarkMagenta

Gets the solid fill color that has a hexadecimal value of #FF8B008B.

DarkOliveGreen DarkOliveGreen DarkOliveGreen DarkOliveGreen

Gets the solid fill color that has a hexadecimal value of #FF556B2F.

DarkOrange DarkOrange DarkOrange DarkOrange

Gets the solid fill color that has a hexadecimal value of #FFFF8C00.

DarkOrchid DarkOrchid DarkOrchid DarkOrchid

Gets the solid fill color that has a hexadecimal value of #FF9932CC.

DarkRed DarkRed DarkRed DarkRed

Gets the solid fill color that has a hexadecimal value of #FF8B0000.

DarkSalmon DarkSalmon DarkSalmon DarkSalmon

Gets the solid fill color that has a hexadecimal value of #FFE9967A.

DarkSeaGreen DarkSeaGreen DarkSeaGreen DarkSeaGreen

Gets the solid fill color that has a hexadecimal value of #FF8FBC8F.

DarkSlateBlue DarkSlateBlue DarkSlateBlue DarkSlateBlue

Gets the solid fill color that has a hexadecimal value of #FF483D8B.

DarkSlateGray DarkSlateGray DarkSlateGray DarkSlateGray

Gets the solid fill color that has a hexadecimal value of #FF2F4F4F.

DarkTurquoise DarkTurquoise DarkTurquoise DarkTurquoise

Gets the solid fill color that has a hexadecimal value of #FF00CED1.

DarkViolet DarkViolet DarkViolet DarkViolet

Gets the solid fill color that has a hexadecimal value of #FF9400D3.

DeepPink DeepPink DeepPink DeepPink

Gets the solid fill color that has a hexadecimal value of #FFFF1493.

DeepSkyBlue DeepSkyBlue DeepSkyBlue DeepSkyBlue

Gets the solid fill color that has a hexadecimal value of #FF00BFFF.

DimGray DimGray DimGray DimGray

Gets the solid fill color that has a hexadecimal value of #FF696969.

DodgerBlue DodgerBlue DodgerBlue DodgerBlue

Gets the solid fill color that has a hexadecimal value of #FF1E90FF.

Firebrick Firebrick Firebrick Firebrick

Gets the solid fill color that has a hexadecimal value of #FFB22222.

FloralWhite FloralWhite FloralWhite FloralWhite

Gets the solid fill color that has a hexadecimal value of #FFFFFAF0.

ForestGreen ForestGreen ForestGreen ForestGreen

Gets the solid fill color that has a hexadecimal value of #FF228B22.

Fuchsia Fuchsia Fuchsia Fuchsia

Gets the solid fill color that has a hexadecimal value of #FFFF00FF.

Gainsboro Gainsboro Gainsboro Gainsboro

Gets the solid fill color that has a hexadecimal value of #FFDCDCDC.

GhostWhite GhostWhite GhostWhite GhostWhite

Gets the solid fill color that has a hexadecimal value of #FFF8F8FF.

Gold Gold Gold Gold

Gets the solid fill color that has a hexadecimal value of #FFFFD700.

Goldenrod Goldenrod Goldenrod Goldenrod

Gets the solid fill color that has a hexadecimal value of #FFDAA520.

Gray Gray Gray Gray

Gets the solid fill color that has a hexadecimal value of #FF808080.

Green Green Green Green

Gets the solid fill color that has a hexadecimal value of #FF008000.

GreenYellow GreenYellow GreenYellow GreenYellow

Gets the solid fill color that has a hexadecimal value of #FFADFF2F.

Honeydew Honeydew Honeydew Honeydew

Gets the solid fill color that has a hexadecimal value of #FFF0FFF0.

HotPink HotPink HotPink HotPink

Gets the solid fill color that has a hexadecimal value of #FFFF69B4.

IndianRed IndianRed IndianRed IndianRed

Gets the solid fill color that has a hexadecimal value of #FFCD5C5C.

Indigo Indigo Indigo Indigo

Gets the solid fill color that has a hexadecimal value of #FF4B0082.

Ivory Ivory Ivory Ivory

Gets the solid fill color that has a hexadecimal value of #FFFFFFF0.

Khaki Khaki Khaki Khaki

Gets the solid fill color that has a hexadecimal value of #FFF0E68C.

Lavender Lavender Lavender Lavender

Gets the solid fill color that has a hexadecimal value of #FFE6E6FA.

LavenderBlush LavenderBlush LavenderBlush LavenderBlush

Gets the solid fill color that has a hexadecimal value of #FFFFF0F5.

LawnGreen LawnGreen LawnGreen LawnGreen

Gets the solid fill color that has a hexadecimal value of #FF7CFC00.

LemonChiffon LemonChiffon LemonChiffon LemonChiffon

Gets the solid fill color that has a hexadecimal value of #FFFFFACD.

LightBlue LightBlue LightBlue LightBlue

Gets the solid fill color that has a hexadecimal value of #FFADD8E6.

LightCoral LightCoral LightCoral LightCoral

Gets the solid fill color that has a hexadecimal value of #FFF08080.

LightCyan LightCyan LightCyan LightCyan

Gets the solid fill color that has a hexadecimal value of #FFE0FFFF.

LightGoldenrodYellow LightGoldenrodYellow LightGoldenrodYellow LightGoldenrodYellow

Gets the solid fill color that has a hexadecimal value of #FFFAFAD2.

LightGray LightGray LightGray LightGray

Gets the solid fill color that has a hexadecimal value of #FFD3D3D3.

LightGreen LightGreen LightGreen LightGreen

Gets the solid fill color that has a hexadecimal value of #FF90EE90.

LightPink LightPink LightPink LightPink

Gets the solid fill color that has a hexadecimal value of #FFFFB6C1.

LightSalmon LightSalmon LightSalmon LightSalmon

Gets the solid fill color that has a hexadecimal value of #FFFFA07A.

LightSeaGreen LightSeaGreen LightSeaGreen LightSeaGreen

Gets the solid fill color that has a hexadecimal value of #FF20B2AA.

LightSkyBlue LightSkyBlue LightSkyBlue LightSkyBlue

Gets the solid fill color that has a hexadecimal value of #FF87CEFA.

LightSlateGray LightSlateGray LightSlateGray LightSlateGray

Gets the solid fill color that has a hexadecimal value of #FF778899.

LightSteelBlue LightSteelBlue LightSteelBlue LightSteelBlue

Gets the solid fill color that has a hexadecimal value of #FFB0C4DE.

LightYellow LightYellow LightYellow LightYellow

Gets the solid fill color that has a hexadecimal value of #FFFFFFE0.

Lime Lime Lime Lime

Gets the solid fill color that has a hexadecimal value of #FF00FF00.

LimeGreen LimeGreen LimeGreen LimeGreen

Gets the solid fill color that has a hexadecimal value of #FF32CD32.

Linen Linen Linen Linen

Gets the solid fill color that has a hexadecimal value of #FFFAF0E6.

Magenta Magenta Magenta Magenta

Gets the solid fill color that has a hexadecimal value of #FFFF00FF.

Maroon Maroon Maroon Maroon

Gets the solid fill color that has a hexadecimal value of #FF800000.

MediumAquamarine MediumAquamarine MediumAquamarine MediumAquamarine

Gets the solid fill color that has a hexadecimal value of #FF66CDAA.

MediumBlue MediumBlue MediumBlue MediumBlue

Gets the solid fill color that has a hexadecimal value of #FF0000CD.

MediumOrchid MediumOrchid MediumOrchid MediumOrchid

Gets the solid fill color that has a hexadecimal value of #FFBA55D3.

MediumPurple MediumPurple MediumPurple MediumPurple

Gets the solid fill color that has a hexadecimal value of #FF9370DB.

MediumSeaGreen MediumSeaGreen MediumSeaGreen MediumSeaGreen

Gets the solid fill color that has a hexadecimal value of #FF3CB371.

MediumSlateBlue MediumSlateBlue MediumSlateBlue MediumSlateBlue

Gets the solid fill color that has a hexadecimal value of #FF7B68EE.

MediumSpringGreen MediumSpringGreen MediumSpringGreen MediumSpringGreen

Gets the solid fill color that has a hexadecimal value of #FF00FA9A.

MediumTurquoise MediumTurquoise MediumTurquoise MediumTurquoise

Gets the solid fill color that has a hexadecimal value of #FF48D1CC.

MediumVioletRed MediumVioletRed MediumVioletRed MediumVioletRed

Gets the solid fill color that has a hexadecimal value of #FFC71585.

MidnightBlue MidnightBlue MidnightBlue MidnightBlue

Gets the solid fill color that has a hexadecimal value of #FF191970.

MintCream MintCream MintCream MintCream

Gets the solid fill color that has a hexadecimal value of #FFF5FFFA.

MistyRose MistyRose MistyRose MistyRose

Gets the solid fill color that has a hexadecimal value of #FFFFE4E1.

Moccasin Moccasin Moccasin Moccasin

Gets the solid fill color that has a hexadecimal value of #FFFFE4B5.

NavajoWhite NavajoWhite NavajoWhite NavajoWhite

Gets the solid fill color that has a hexadecimal value of #FFFFDEAD.

Navy Navy Navy Navy

Gets the solid fill color that has a hexadecimal value of #FF000080.

OldLace OldLace OldLace OldLace

Gets the solid fill color that has a hexadecimal value of #FFFDF5E6.

Olive Olive Olive Olive

Gets the solid fill color that has a hexadecimal value of #FF808000.

OliveDrab OliveDrab OliveDrab OliveDrab

Gets the solid fill color that has a hexadecimal value of #FF6B8E23.

Orange Orange Orange Orange

Gets the solid fill color that has a hexadecimal value of #FFFFA500.

OrangeRed OrangeRed OrangeRed OrangeRed

Gets the solid fill color that has a hexadecimal value of #FFFF4500.

Orchid Orchid Orchid Orchid

Gets the solid fill color that has a hexadecimal value of #FFDA70D6.

PaleGoldenrod PaleGoldenrod PaleGoldenrod PaleGoldenrod

Gets the solid fill color that has a hexadecimal value of #FFEEE8AA.

PaleGreen PaleGreen PaleGreen PaleGreen

Gets the solid fill color that has a hexadecimal value of #FF98FB98.

PaleTurquoise PaleTurquoise PaleTurquoise PaleTurquoise

Gets the solid fill color that has a hexadecimal value of #FFAFEEEE.

PaleVioletRed PaleVioletRed PaleVioletRed PaleVioletRed

Gets the solid fill color that has a hexadecimal value of #FFDB7093.

PapayaWhip PapayaWhip PapayaWhip PapayaWhip

Gets the solid fill color that has a hexadecimal value of #FFFFEFD5.

PeachPuff PeachPuff PeachPuff PeachPuff

Gets the solid fill color that has a hexadecimal value of #FFFFDAB9.

Peru Peru Peru Peru

Gets the solid fill color that has a hexadecimal value of #FFCD853F.

Pink Pink Pink Pink

Gets the solid fill color that has a hexadecimal value of #FFFFC0CB.

Plum Plum Plum Plum

Gets the solid fill color that has a hexadecimal value of #FFDDA0DD.

PowderBlue PowderBlue PowderBlue PowderBlue

Gets the solid fill color that has a hexadecimal value of #FFB0E0E6.

Purple Purple Purple Purple

Gets the solid fill color that has a hexadecimal value of #FF800080.

Red Red Red Red

Gets the solid fill color that has a hexadecimal value of #FFFF0000.

RosyBrown RosyBrown RosyBrown RosyBrown

Gets the solid fill color that has a hexadecimal value of #FFBC8F8F.

RoyalBlue RoyalBlue RoyalBlue RoyalBlue

Gets the solid fill color that has a hexadecimal value of #FF4169E1.

SaddleBrown SaddleBrown SaddleBrown SaddleBrown

Gets the solid fill color that has a hexadecimal value of #FF8B4513.

Salmon Salmon Salmon Salmon

Gets the solid fill color that has a hexadecimal value of #FFFA8072.

SandyBrown SandyBrown SandyBrown SandyBrown

Gets the solid fill color that has a hexadecimal value of #FFF4A460.

SeaGreen SeaGreen SeaGreen SeaGreen

Gets the solid fill color that has a hexadecimal value of #FF2E8B57.

SeaShell SeaShell SeaShell SeaShell

Gets the solid fill color that has a hexadecimal value of #FFFFF5EE.

Sienna Sienna Sienna Sienna

Gets the solid fill color that has a hexadecimal value of #FFA0522D.

Silver Silver Silver Silver

Gets the solid fill color that has a hexadecimal value of #FFC0C0C0.

SkyBlue SkyBlue SkyBlue SkyBlue

Gets the solid fill color that has a hexadecimal value of #FF87CEEB.

SlateBlue SlateBlue SlateBlue SlateBlue

Gets the solid fill color that has a hexadecimal value of #FF6A5ACD.

SlateGray SlateGray SlateGray SlateGray

Gets the solid fill color that has a hexadecimal value of #FF708090.

Snow Snow Snow Snow

Gets the solid fill color that has a hexadecimal value of #FFFFFAFA.

SpringGreen SpringGreen SpringGreen SpringGreen

Gets the solid fill color that has a hexadecimal value of #FF00FF7F.

SteelBlue SteelBlue SteelBlue SteelBlue

Gets the solid fill color that has a hexadecimal value of #FF4682B4.

Tan Tan Tan Tan

Gets the solid fill color that has a hexadecimal value of #FFD2B48C.

Teal Teal Teal Teal

Gets the solid fill color that has a hexadecimal value of #FF008080.

Thistle Thistle Thistle Thistle

Gets the solid fill color that has a hexadecimal value of #FFD8BFD8.

Tomato Tomato Tomato Tomato

Gets the solid fill color that has a hexadecimal value of #FFFF6347.

Transparent Transparent Transparent Transparent

Gets the solid fill color that has a hexadecimal value of #00FFFFFF.

Turquoise Turquoise Turquoise Turquoise

Gets the solid fill color that has a hexadecimal value of #FF40E0D0.

Violet Violet Violet Violet

Gets the solid fill color that has a hexadecimal value of #FFEE82EE.

Wheat Wheat Wheat Wheat

Gets the solid fill color that has a hexadecimal value of #FFF5DEB3.

White White White White

Gets the solid fill color that has a hexadecimal value of #FFFFFFFF.

WhiteSmoke WhiteSmoke WhiteSmoke WhiteSmoke

Gets the solid fill color that has a hexadecimal value of #FFF5F5F5.

Yellow Yellow Yellow Yellow

Gets the solid fill color that has a hexadecimal value of #FFFFFF00.

YellowGreen YellowGreen YellowGreen YellowGreen

Gets the solid fill color that has a hexadecimal value of #FF9ACD32.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See Also