4 ms·
I'm really not a specialist in color theory but have been looking for a library that could consistently return colors for multi charts with no defined number of
by sberder 7y ago
I'm really not a specialist in color theory but have been looking for a library that could consistently return colors for multi charts with no defined number of lines. Most color palettes are a set size (5, 6, 8 colors) but I currently need to chart things with an unknown number of lines. Any suggestion from the mind hive?
- kevin_thibedeau 7y agoRotate hues with an increment of phi (1.618...). It maximizes average distance between colors. It is discussed at the end of the sinebow article: https://basecase.org/env/on-rainbows https://basecase.org/env/on-rainbows
- infogulch 7y agoThat's a neat solution, the most irrational number strikes again!
- sberder 7y agoVery much appreciated, I knew I'd get a perfect answer!
- mark-r 7y agoI love the Sinebow! It's a natural solution to a problem nobody ever talks about - the colors made by combining two primaries are unnaturally bright compared to a single primary. The way our monitors work, those colors emit twice as many photons. That's OK for yellow because we expect it to be bright, but magenta and cyan just look too garish.