Color Methods
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Include Protected Members
Include Inherited Members
Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members
The Color type exposes the following members.
Methods
Name | Description | |
---|---|---|
Equals(Color) | Tests whether the specified Color structure is identical to the current color. | |
Equals(Object) | Tests whether the specified object is a Color structure and is equivalent to the current color. (Overrides ValueType.Equals(Object).) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
FromArgb | Creates a new Color structure by using the specified sRGB alpha channel and color channel values. | |
GetHashCode | Gets a hash code for the current Color structure. (Overrides ValueType.GetHashCode().) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString() | Creates a string representation of the color using the ARGB channels in hex notation. (Overrides ValueType.ToString().) | |
ToString(IFormatProvider) | Creates a string representation of the color by using the ARGB channels and the specified format provider. |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IFormattable.ToString | Infrastructure. For a description of this member, see ToString. |
Top