1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
use crate::;
/// HSL color.
///
/// | Field | Range | Description |
/// |-------|-------|-------------|
/// | `h` | 0..360 | Hue angle (wraps at 360) |
/// | `s` | 0..1 | Saturation |
/// | `l` | 0..1 | Lightness |
///
/// # Why no arithmetic?
///
/// Same reasoning as [`HSV`]: hue wraparound makes naive componentwise
/// operations incorrect. Convert to [`RGBA`], manipulate there, convert back.
///
/// See [`HSV`] for details and alternatives.
///
/// [`HSV`]: crate::HSV