Click or drag to resize

Color Methods

The Color type exposes the following members.

Methods
  NameDescription
Public methodEquals(Object)
Determines whether the specified Object is equal to this Color instance.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Color)
Determines whether the other Color is equal to this Color instance.
Public methodStatic memberFromHsl(Int32, Int32, Int32)
Creates a new color instance from the specified Hue, Saturation and Lightness components.
Public methodStatic memberFromHsl(Int32, Int32, Int32, Double)
Creates a new color instance from the specified Hue, Saturation and Lightness components and transparency.
Public methodStatic memberFromName(ColorName)
Creates a new color instance from the specified color name.
Public methodStatic memberFromName(ColorName, Double)
Creates a new color instance from the specified color name and luminance.
Public methodStatic memberFromName(ColorName, Double, Double)
Creates a new color instance from the specified color name, luminance and transparency.
Public methodStatic memberFromRgb(Int32, Int32, Int32)
Creates a new color instance from the specified Red, Green and Blue components.
Public methodStatic memberFromRgb(Int32, Int32, Int32, Double)
Creates a new color instance from the specified Red, Green and Blue components and transparency.
Public methodGetHashCode
Returns a hash code for this Color instance.
(Overrides ValueTypeGetHashCode.)
Public methodToString
Returns a String that represents this Color instance.
(Overrides ValueTypeToString.)
Top
See Also