diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-11-15 19:05:01 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-11-15 19:05:01 +0000 |
| commit | 2b8e2b35062ed53377a9ab0f74a627f85f9f3206 (patch) | |
| tree | f2dbb2c9fd0d58a091c501b025cce1913b368359 /input.c | |
| parent | hsl: add our own implementations of rgb-to-hsl and hsl-to-rgb (diff) | |
render: dim and brighten colors by adjusting luminance
To do this, we need to convert our RGB to HSL, adjust luminance, and
then convert back to RGB.
Diffstat (limited to 'input.c')
0 files changed, 0 insertions, 0 deletions
