powered by
Choose desired number of colors and whether the colors are reversed.
washi_pal_setup(palette = "standard", n, reverse = FALSE)
A vector of color hex codes.
Character name of palette in washi_pal. See names(washi_pal) for a list of available palettes.
names(washi_pal)
Number of colors in palette.
Boolean indicating whether the palette should be reversed. Default is FALSE.
Other color palette functions: washi_pal_view(), washi_pal
washi_pal_view()
washi_pal
washi_pal_setup("color_blind") washi_pal_setup("green_gradient", 12)
Run the code above in your browser using DataLab