View source: R/discrete-simpsons.R
pal_simpsons | R Documentation |
Color palettes inspired by the colors used in The Simpsons.
pal_simpsons(palette = c("springfield"), alpha = 1)
palette |
Palette type.
Currently there is one available option: |
alpha |
Transparency level, a real number in (0, 1].
See |
Nan Xiao | me@nanx.me | https://nanx.me
library("scales")
show_col(pal_simpsons("springfield")(16))
show_col(pal_simpsons("springfield", alpha = 0.6)(16))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.