Alek Ratzloff 426c9580a7 Update palettes to use HSL coloring
Introduce a new function called `hsl_colors` and a helper `quantize`
function that creates palettes using HSL values on the fly. Default
palettes are now split into "<colorname>-dark" and "<colorname>-light"
for more variation.

In my experiments, red-centric colors seem to be more distinguishable
than others. You have red, green, blue - you can tell they're distinct.
Interleaved between these you have yellow, cyan, and magenta, also
distinct. But between yellow and green, or green and cyan, these colors
feel less distinct than orange, purple or pink. I have opted to elide
non-red "in-betweens" such as those. So we have a dark and light variant
of the following colors as palettes:

red, orange, yellow, green, cyan, blue, purple, magenta, pink, gray, and
also a rainbow palette that is every color at its full saturation.

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2024-05-24 17:39:33 -07:00
2024-05-21 11:54:15 -07:00
Description
Making art with cryptographic hashes
1.6 MiB
Languages
Python 59.7%
JavaScript 29.4%
HTML 8.1%
Shell 2.8%