[]
Initializes a new instance of the C1HslColor struct.
public C1HslColor(float h, float s, float l)
Public Sub New(h As Single, s As Single, l As Single)
| Type | Name | Description |
|---|---|---|
| float | h | Hue is a value between 0 and 1. |
| float | s | Saturation is a value between 0 and 1. |
| float | l | Luminance is a value between 0 and 1. |
Initializes a new instance of the C1HslColor struct.
public C1HslColor(byte a, float h, float s, float l)
Public Sub New(a As Byte, h As Single, s As Single, l As Single)
| Type | Name | Description |
|---|---|---|
| byte | a | Alpha channel. |
| float | h | Hue is a value between 0 and 1. |
| float | s | Saturation is a value between 0 and 1. |
| float | l | Luminance is a value between 0 and 1. |
Initializes a new instance of the C1HslColor struct.
public C1HslColor(Color rgbColor)
Public Sub New(rgbColor As Color)
| Type | Name | Description |
|---|---|---|
| Color | rgbColor | RGB color used to initialize the HSL color. |