aboutsummaryrefslogtreecommitdiff
path: root/scripts/benchmark.py
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-11-15 19:05:01 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-11-15 19:05:01 +0000
commit2b8e2b35062ed53377a9ab0f74a627f85f9f3206 (patch)
treef2dbb2c9fd0d58a091c501b025cce1913b368359 /scripts/benchmark.py
parenthsl: 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 'scripts/benchmark.py')
0 files changed, 0 insertions, 0 deletions