Click or drag to resize

Color Methods

The Color type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object).)
Public methodGetHashCode
Serves as the default hash function.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToHexRGB
Creates a string representation for this color in the RGB hex format.
Public methodToHexRGBA
Creates a string representation for this color in the RGBA hex format.
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Public methodToString(String)
Returns a string representation of the value of this Color instance, according to the provided format specifier.
Public methodToString(String, IFormatProvider)
Formats the value of the current instance using the specified format.
Top
Extension Methods
  NameDescription
Public Extension MethodToColorOverloaded.
Converts the Color instance to Color.
(Defined by ColorExtensions.)
Public Extension MethodToColorOverloaded.
Converts the Color instance to Color.
(Defined by ColorExtensions.)
Top
See Also