Color Methods

The Color type exposes the following members.

Methods
  NameDescription
Public methodEquals(Object)
Determines whether the specified object is a Color> structure and is equivalent to this Color structure.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Color)
Determines whether the specified Color structure is equivalent to this Color structure.
Public methodStatic memberFromArgb(Int32)
Creates a Color structure from a 32-bit ARGB value.
Public methodStatic memberFromArgb(Int32, Color)
Creates a Color structure from the specified Color structure, but with the new specified alpha value.
Public methodStatic memberFromArgb(Int32, Int32, Int32)
Creates a Color structure from the specified 8-bit color values (red, green, and blue) and the alpha value is implicitly 255 (fully opaque).
Public methodStatic memberFromArgb(Int32, Int32, Int32, Int32)
Creates a Color structure from the four ARGB component (alpha, red, green, and blue) values.
Public methodGetBrightness
Gets the hue-saturation-brightness (HSB) brightness value for this Color structure.
Public methodGetHashCode
Gets a hash code for this Color structure.
(Overrides ValueTypeGetHashCode.)
Public methodGetHue
Gets the hue-saturation-brightness (HSB) hue value, in degrees, for this Color structure.
Public methodGetSaturation
Gets the hue-saturation-brightness (HSB) saturation value for this Color structure.
Public methodGetType (Inherited from Object.)
Public methodToArgb
Gets the 32-bit ARGB value of this Color structure.
Public methodToString (Inherited from ValueType.)
See Also