KTH-Library / ktheme

R package with styling assets and a ggplot2 theme and fonts to conform with the graphical profile for KTH

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Avoid alpha in color palette steps (diverging, sequential)

mskyttner opened this issue · comments

Instead of using alpha (80, 40), seqeuential and diverging color steps should/could be calculated with something like this:

https://www.rdocumentation.org/packages/scales/versions/0.4.1/topics/seq_gradient_pal