HslaColor
HslaColor class
Class for representing HSLA color (Hue, Saturation, Lightness, Alpha)
new HslaColor(h, s, l, a)
Constructor for HslaColor
| Parameter | Description |
|---|---|
| h | Hue [0, 360] |
| s | Saturation [0, 100] |
| l | Lightness [0, 100] |
| a | Alpha (opacity) [0.0f, 1.0f] |
Methods
| Name | Description |
|---|---|
| convertHslaToRgba(hslaColor) (static) | Uses https://en.wikipedia.org/wiki/HSL_and_HSV#HSL_to_RGB |