| simple_colors | R Documentation |
Simple random color selection
simple_colors(n = 10, palette = NULL)
n |
The number of colors to return. Default is |
palette |
The name of the palette to use.
Default is |
A character vector of hexadecimal color codes.
simple_colors()
show_palettes(simple_colors(n = 5))
# Get colors from a specific palette
simple_colors(n = 10, palette = "Paired")
simple_colors(n = 10, palette = "ChineseBlue")
simple_colors(n = 10, palette = "Spectral")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.