The HslColor type exposes the following members.

Constructors

  NameDescription
HslColorOverloaded.

Methods

  NameDescription
Equals
Determines whether the specified Object is equal to the current Object.
(Overrides Object..::.Equals(Object).)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
FromColor
Creates from a given color.
FromHsbColor
Creates from a given color.
FromHslColor
Creates from a given color.
FromRgbColor
Creates from a given color.
GetHashCode
Serves as a hash function for a particular type.
(Overrides Object..::.GetHashCode()()().)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
ToColor
Returns the underlying .NET color.
ToHsbColor
Returns the HSB color.
ToHslColor
Returns the HSL color.
ToRgbColor
Returns the RGB color.
ToString
Returns a String that represents the current Object.
(Overrides Object..::.ToString()()().)

Properties

  NameDescription
Hue
Gets or sets the hue. Values from 0 to 360.
Light
Gets or sets the light. Values from 0 to 100.
PreciseHue
Gets or sets the precise hue. Values from 0 to 360.
PreciseLight
Gets or sets the precise light. Values from 0 to 100.
PreciseSaturation
Gets or sets the precise saturation. Values from 0 to 100.
Saturation
Gets or sets the saturation. Values from 0 to 100.

See Also