This documentation is archived and is not being maintained.
Color Methods
.NET Framework 1.1
The methods of the Color structure are listed here. For a complete list of Color structure members, see the Color Members topic.
Public Methods
Equals Supported by the .NET Compact Framework. | Overridden. Tests whether the specified object is a Color structure and is equivalent to this Color structure. |
![]() FromArgb Supported by the .NET Compact Framework. | Overloaded. Creates a Color structure from the four 8-bit ARGB component (alpha, red, green, and blue) values. |
![]() FromKnownColor | Creates a Color structure from the specified pre-defined color. |
![]() FromName | Creates a Color structure from the specified name of a pre-defined color. |
GetBrightness | Gets the hue-saturation-brightness (HSB) brightness value for this Color structure. |
GetHashCode Supported by the .NET Compact Framework. | 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 (inherited from Object)
Supported by the .NET Compact Framework. | Gets the Type of the current instance. |
ToArgb Supported by the .NET Compact Framework. | Gets the 32-bit ARGB value of this Color structure. |
ToKnownColor | Gets the KnownColor value of this Color structure. |
ToString Supported by the .NET Compact Framework. | Overridden. Converts this Color structure to a human-readable string. |
Protected Methods
Finalize (inherited from Object)
Supported by the .NET Compact Framework. | Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
In C# and C++, finalizers are expressed using destructor syntax. |
MemberwiseClone (inherited from Object)
Supported by the .NET Compact Framework. | Creates a shallow copy of the current Object. |
See Also
Show:
