Feature request: Include the web-safe color palette
adrhill opened this issue · 6 comments
adrhill commented
For some legacy fun, it would be nice to have access to the web-safe color palette.
The full color table can be found here.
cormullion commented
adrhill commented
That's a cool one-liner!
The ordering looks good to me too. :)
adrhill commented
You could code-golf this even further as
ColorScheme([parse(RGB, "#$(string.([r,g,b], base=16)...)") for r in 0x0:3:0xf for g in 0x0:3:0xf for b in 0x0:3:0xf])
at a small loss of performance.
cormullion commented
Cool. Fortunately this package isn't smart enough to generate the schemes in code 😄
cormullion commented
added in f7d43fe
adrhill commented
Thanks a lot!