The following tables list the members exposed by HSL.
Name | Description | |
---|---|---|
Alpha | Gets / sets the Alpha value that will be used when this color is converted to a Color struct. | |
H | Gets / sets the H value for a HSL color. The expected values are between 0 and 360. | |
L | Gets / sets the L value for a HSL color. The expected values are between 0 and 100. | |
S | Gets / sets the S value for a HSL color. The expected values are between 0 and 100. |
Name | Description | |
---|---|---|
Darker | Shifts the lightness of the color based on the inputted value. | |
FromColor | Initializes a new instance of the HSL structure. | |
FromHSL | Initializes a new instance of the HSL structure. | |
Lighter | Shifts the lightness of the color based on the inputted value. | |
ToColor | Returns a System.Windows.Media.Color struct based on the values of the HSL color. |