Color Members

Represents an ARGB (alpha, red, green, blue) color.

The following tables list the members exposed by the Color type.

  Name Description
Public field Static Supported by the .NET Compact Framework Supported by the XNA Framework Empty Represents a color that is a null reference (Nothing in Visual Basic).
Top

  Name Description
Public property Supported by the .NET Compact Framework Supported by the XNA Framework A Gets the alpha component value of this Color structure.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework AliceBlue Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework AntiqueWhite Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Aqua Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Aquamarine Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Azure Gets a system-defined color.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework B Gets the blue component value of this Color structure.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Beige Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Bisque Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Black Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework BlanchedAlmond Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Blue Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework BlueViolet Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Brown Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework BurlyWood Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework CadetBlue Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Chartreuse Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Chocolate Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Coral Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework CornflowerBlue Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Cornsilk Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Crimson Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Cyan Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework DarkBlue Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework DarkCyan Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework DarkGoldenrod Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework DarkGray Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework DarkGreen Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework DarkKhaki Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework DarkMagenta Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework DarkOliveGreen Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework DarkOrange Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework DarkOrchid Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework DarkRed Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework DarkSalmon Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework DarkSeaGreen Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework DarkSlateBlue Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework DarkSlateGray Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework DarkTurquoise Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework DarkViolet Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework DeepPink Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework DeepSkyBlue Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework DimGray Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework DodgerBlue Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Firebrick Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework FloralWhite Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework ForestGreen Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Fuchsia Gets a system-defined color.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework G Gets the green component value of this Color structure.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Gainsboro Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework GhostWhite Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Gold Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Goldenrod Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Gray Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Green Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework GreenYellow Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Honeydew Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework HotPink Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework IndianRed Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Indigo Gets a system-defined color.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework IsEmpty Specifies whether this Color structure is uninitialized.
Public property IsKnownColor Gets a value indicating whether this Color structure is a predefined color. Predefined colors are represented by the elements of the KnownColor enumeration.
Public property IsNamedColor Gets a value indicating whether this Color structure is a named color or a member of the KnownColor enumeration.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework IsSystemColor Gets a value indicating whether this Color structure is a system color. A system color is a color that is used in a Windows display element. System colors are represented by elements of the KnownColor enumeration.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Ivory Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Khaki Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Lavender Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework LavenderBlush Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework LawnGreen Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework LemonChiffon Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework LightBlue Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework LightCoral Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework LightCyan Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework LightGoldenrodYellow Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework LightGray Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework LightGreen Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework LightPink Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework LightSalmon Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework LightSeaGreen Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework LightSkyBlue Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework LightSlateGray Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework LightSteelBlue Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework LightYellow Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Lime Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework LimeGreen Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Linen Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Magenta Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Maroon Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework MediumAquamarine Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework MediumBlue Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework MediumOrchid Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework MediumPurple Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework MediumSeaGreen Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework MediumSlateBlue Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework MediumSpringGreen Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework MediumTurquoise Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework MediumVioletRed Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework MidnightBlue Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework MintCream Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework MistyRose Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Moccasin Gets a system-defined color.
Public property Name Gets the name of this Color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework NavajoWhite Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Navy Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework OldLace Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Olive Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework OliveDrab Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Orange Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework OrangeRed Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Orchid Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework PaleGoldenrod Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework PaleGreen Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework PaleTurquoise Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework PaleVioletRed Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework PapayaWhip Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework PeachPuff Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Peru Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Pink Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Plum Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework PowderBlue Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Purple Gets a system-defined color.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework R Gets the red component value of this Color structure.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Red Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework RosyBrown Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework RoyalBlue Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework SaddleBrown Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Salmon Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework SandyBrown Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework SeaGreen Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework SeaShell Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Sienna Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Silver Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework SkyBlue Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework SlateBlue Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework SlateGray Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Snow Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework SpringGreen Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework SteelBlue Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Tan Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Teal Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Thistle Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Tomato Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Transparent Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Turquoise Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Violet Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Wheat Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework White Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework WhiteSmoke Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Yellow Gets a system-defined color.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework YellowGreen Gets a system-defined color.
Top

(see also Protected Methods )
  Name Description
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Equals Overloaded. Overridden. Determines whether the specified object equals this Color.
Public method Static Supported by the .NET Compact Framework Supported by the XNA Framework FromArgb Overloaded. Creates a Color structure from the four 8-bit ARGB components (alpha, red, green, and blue) values.
Public method Static FromKnownColor Creates a Color structure from the specified predefined color.
Public method Static FromName Creates a Color structure from the specified name of a predefined color.
Public method Static Supported by the .NET Compact Framework FromSysIcv Gets a system-defined color.
Public method GetBrightness Gets the hue-saturation-brightness (HSB) brightness value for this Color structure.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetHashCode Overridden. Returns a hash code for this Color structure.
Public method GetHue Gets the hue-saturation-brightness (HSB) hue value, in degrees, for this Color structure.
Public method GetSaturation Gets the hue-saturation-brightness (HSB) saturation value for this Color structure.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static Supported by the .NET Compact Framework Supported by the XNA Framework op_Equality Tests whether two specified Color structures are equivalent.
Public method Static Supported by the .NET Compact Framework Supported by the XNA Framework op_Inequality Tests whether two specified Color structures are different.
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ToArgb Gets the 32-bit ARGB value of this Color structure.
Public method ToKnownColor Gets the KnownColor value of this Color structure.
Public method Supported by the .NET Compact Framework ToString Overridden. Converts this Color structure to a human-readable string.
Top

  Name Description
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top

Community Additions

ADD
Show: