Color Members
.NET Framework 3.0
Represents an ARGB (alpha, red, green, blue) color.
The following tables list the members exposed by the Color type.
| Name | Description | |
|---|---|---|
| A | Gets the alpha component value of this Color structure. |
| AliceBlue | Gets a system-defined color. |
| AntiqueWhite | Gets a system-defined color. |
| Aqua | Gets a system-defined color. |
| Aquamarine | Gets a system-defined color. |
| Azure | Gets a system-defined color. |
| B | Gets the blue component value of this Color structure. |
| Beige | Gets a system-defined color. |
| Bisque | Gets a system-defined color. |
| Black | Gets a system-defined color. |
| BlanchedAlmond | Gets a system-defined color. |
| Blue | Gets a system-defined color. |
| BlueViolet | Gets a system-defined color. |
| Brown | Gets a system-defined color. |
| BurlyWood | Gets a system-defined color. |
| CadetBlue | Gets a system-defined color. |
| Chartreuse | Gets a system-defined color. |
| Chocolate | Gets a system-defined color. |
| Coral | Gets a system-defined color. |
| CornflowerBlue | Gets a system-defined color. |
| Cornsilk | Gets a system-defined color. |
| Crimson | Gets a system-defined color. |
| Cyan | Gets a system-defined color. |
| DarkBlue | Gets a system-defined color. |
| DarkCyan | Gets a system-defined color. |
| DarkGoldenrod | Gets a system-defined color. |
| DarkGray | Gets a system-defined color. |
| DarkGreen | Gets a system-defined color. |
| DarkKhaki | Gets a system-defined color. |
| DarkMagenta | Gets a system-defined color. |
| DarkOliveGreen | Gets a system-defined color. |
| DarkOrange | Gets a system-defined color. |
| DarkOrchid | Gets a system-defined color. |
| DarkRed | Gets a system-defined color. |
| DarkSalmon | Gets a system-defined color. |
| DarkSeaGreen | Gets a system-defined color. |
| DarkSlateBlue | Gets a system-defined color. |
| DarkSlateGray | Gets a system-defined color. |
| DarkTurquoise | Gets a system-defined color. |
| DarkViolet | Gets a system-defined color. |
| DeepPink | Gets a system-defined color. |
| DeepSkyBlue | Gets a system-defined color. |
| DimGray | Gets a system-defined color. |
| DodgerBlue | Gets a system-defined color. |
| Firebrick | Gets a system-defined color. |
| FloralWhite | Gets a system-defined color. |
| ForestGreen | Gets a system-defined color. |
| Fuchsia | Gets a system-defined color. |
| G | Gets the green component value of this Color structure. |
| Gainsboro | Gets a system-defined color. |
| GhostWhite | Gets a system-defined color. |
| Gold | Gets a system-defined color. |
| Goldenrod | Gets a system-defined color. |
| Gray | Gets a system-defined color. |
| Green | Gets a system-defined color. |
| GreenYellow | Gets a system-defined color. |
| Honeydew | Gets a system-defined color. |
| HotPink | Gets a system-defined color. |
| IndianRed | Gets a system-defined color. |
| Indigo | Gets a system-defined color. |
| IsEmpty | Specifies whether this Color structure is uninitialized. |
| IsKnownColor | Gets a value indicating whether this Color structure is a predefined color. Predefined colors are represented by the elements of the KnownColor enumeration. |
| IsNamedColor | Gets a value indicating whether this Color structure is a named color or a member of the KnownColor enumeration. |
| 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. |
| Ivory | Gets a system-defined color. |
| Khaki | Gets a system-defined color. |
| Lavender | Gets a system-defined color. |
| LavenderBlush | Gets a system-defined color. |
| LawnGreen | Gets a system-defined color. |
| LemonChiffon | Gets a system-defined color. |
| LightBlue | Gets a system-defined color. |
| LightCoral | Gets a system-defined color. |
| LightCyan | Gets a system-defined color. |
| LightGoldenrodYellow | Gets a system-defined color. |
| LightGray | Gets a system-defined color. |
| LightGreen | Gets a system-defined color. |
| LightPink | Gets a system-defined color. |
| LightSalmon | Gets a system-defined color. |
| LightSeaGreen | Gets a system-defined color. |
| LightSkyBlue | Gets a system-defined color. |
| LightSlateGray | Gets a system-defined color. |
| LightSteelBlue | Gets a system-defined color. |
| LightYellow | Gets a system-defined color. |
| Lime | Gets a system-defined color. |
| LimeGreen | Gets a system-defined color. |
| Linen | Gets a system-defined color. |
| Magenta | Gets a system-defined color. |
| Maroon | Gets a system-defined color. |
| MediumAquamarine | Gets a system-defined color. |
| MediumBlue | Gets a system-defined color. |
| MediumOrchid | Gets a system-defined color. |
| MediumPurple | Gets a system-defined color. |
| MediumSeaGreen | Gets a system-defined color. |
| MediumSlateBlue | Gets a system-defined color. |
| MediumSpringGreen | Gets a system-defined color. |
| MediumTurquoise | Gets a system-defined color. |
| MediumVioletRed | Gets a system-defined color. |
| MidnightBlue | Gets a system-defined color. |
| MintCream | Gets a system-defined color. |
| MistyRose | Gets a system-defined color. |
| Moccasin | Gets a system-defined color. |
| Name | Gets the name of this Color. |
| NavajoWhite | Gets a system-defined color. |
| Navy | Gets a system-defined color. |
| OldLace | Gets a system-defined color. |
| Olive | Gets a system-defined color. |
| OliveDrab | Gets a system-defined color. |
| Orange | Gets a system-defined color. |
| OrangeRed | Gets a system-defined color. |
| Orchid | Gets a system-defined color. |
| PaleGoldenrod | Gets a system-defined color. |
| PaleGreen | Gets a system-defined color. |
| PaleTurquoise | Gets a system-defined color. |
| PaleVioletRed | Gets a system-defined color. |
| PapayaWhip | Gets a system-defined color. |
| PeachPuff | Gets a system-defined color. |
| Peru | Gets a system-defined color. |
| Pink | Gets a system-defined color. |
| Plum | Gets a system-defined color. |
| PowderBlue | Gets a system-defined color. |
| Purple | Gets a system-defined color. |
| R | Gets the red component value of this Color structure. |
| Red | Gets a system-defined color. |
| RosyBrown | Gets a system-defined color. |
| RoyalBlue | Gets a system-defined color. |
| SaddleBrown | Gets a system-defined color. |
| Salmon | Gets a system-defined color. |
| SandyBrown | Gets a system-defined color. |
| SeaGreen | Gets a system-defined color. |
| SeaShell | Gets a system-defined color. |
| Sienna | Gets a system-defined color. |
| Silver | Gets a system-defined color. |
| SkyBlue | Gets a system-defined color. |
| SlateBlue | Gets a system-defined color. |
| SlateGray | Gets a system-defined color. |
| Snow | Gets a system-defined color. |
| SpringGreen | Gets a system-defined color. |
| SteelBlue | Gets a system-defined color. |
| Tan | Gets a system-defined color. |
| Teal | Gets a system-defined color. |
| Thistle | Gets a system-defined color. |
| Tomato | Gets a system-defined color. |
| Transparent | Gets a system-defined color. |
| Turquoise | Gets a system-defined color. |
| Violet | Gets a system-defined color. |
| Wheat | Gets a system-defined color. |
| White | Gets a system-defined color. |
| WhiteSmoke | Gets a system-defined color. |
| Yellow | Gets a system-defined color. |
| YellowGreen | Gets a system-defined color. |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| Equals | Overloaded. Overridden. Determines whether the specified object equals this Color. |
| FromArgb | Overloaded. Creates a Color structure from the four 8-bit ARGB components (alpha, red, green, and blue) values. |
| FromKnownColor | Creates a Color structure from the specified predefined color. |
| FromName | Creates a Color structure from the specified name of a predefined color. |
| FromSysIcv | Gets a system-defined color. |
| GetBrightness | Gets the hue-saturation-brightness (HSB) brightness value for this Color structure. |
| GetHashCode | Overridden. Returns a hash code for this Color structure. |
| GetHue | Gets the hue-saturation-brightness (HSB) hue value, in degrees, for this Color structure. |
| GetSaturation | Gets the hue-saturation-brightness (HSB) saturation value for this Color structure. |
| GetType | Gets the Type of the current instance. (inherited from Object) |
| op_Equality | Tests whether two specified Color structures are equivalent. |
| op_Inequality | Tests whether two specified Color structures are different. |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object) |
| ToArgb | Gets the 32-bit ARGB value of this Color structure. |
| ToKnownColor | Gets the KnownColor value of this Color structure. |
| ToString | Overridden. Converts this Color structure to a human-readable string. |
| Name | Description | |
|---|---|---|
| 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) |
| MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object) |
Community Additions
ADD
Show: