dune_palette | R Documentation |
Creates color palettes inspired by 'Dune'
dune_palette(name, n, type = c("discrete", "continuous"))
name |
Name of palette. Run |
n |
Number of desired colors: If the requested number of colors exceeds the available palette, additional colors will be automatically interpolated. If the number of colors (n) is not specified, the default length of the palette will be used. |
type |
Specify either "continuous" or "discrete". Use "continuous" if you want to automatically interpolate between colors. |
A vector of colors.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.