mirror of
https://github.com/Makuna/NeoPixelBus.git
synced 2025-08-10 06:14:26 +02:00
Add link to wikipedia and graphic representation of HSL colorspace
@@ -1,4 +1,7 @@
|
|||||||
HslColor represents a color object that is represented by Hue, Saturation, Lightness component values. The primary use of this class is for easy definitions of color.
|
HslColor represents a color object that is represented by Hue, Saturation, Lightness component values. The primary use of this class is for easy definitions of color. See [Wikipedia article on HSL color space](https://en.wikipedia.org/wiki/HSL_and_HSV)
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
There are three properties that represent the component values Hue, Saturation, and Lightness. The values range from 0.0f to 1.0f.
|
There are three properties that represent the component values Hue, Saturation, and Lightness. The values range from 0.0f to 1.0f.
|
||||||
@@ -9,6 +12,7 @@ float H;
|
|||||||
float S;
|
float S;
|
||||||
float L;
|
float L;
|
||||||
```
|
```
|
||||||
|
|
||||||
## Constructors
|
## Constructors
|
||||||
|
|
||||||
### HslColor(float h, float s, float l) :
|
### HslColor(float h, float s, float l) :
|
||||||
|
Reference in New Issue
Block a user