HslColor Structure
Assembly: Microsoft.VisualStudio.Imaging (in Microsoft.VisualStudio.Imaging.dll)
| Name | Description | |
|---|---|---|
![]() | HslColor(Double, Double, Double) | Initializes a new instance of the HslColor class with the specified hue, saturation, and luminosity. |
![]() | HslColor(Double, Double, Double, Double) | Initializes a new instance of the HslColor class with the specified hue, saturation, luminosity, and alpha. |
| Name | Description | |
|---|---|---|
![]() | Alpha | Gets or sets the HslColor's Alpha component. |
![]() | Hue | Gets or sets the HslColor's Hue component |
![]() | Luminosity | Gets or sets the HslColor's Luminosity component |
![]() | Saturation | Gets or sets the HslColor's Saturation component. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from ValueType.) |
![]() ![]() | FromColor(Color) | Converts a Color value to an HslColor. The algorithm is based on pseudocode available on HSL and HSV. |
![]() | GetHashCode() | (Inherited from ValueType.) |
![]() | GetType() | (Inherited from Object.) |
![]() | ToColor() | Converts an HslColor value to a Color. The algorithm is based on pseudocode available on HSL and HSV. </summary> |
![]() | ToString() | (Inherited from ValueType.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


