colour_palettes | R Documentation |
List the available colour palettes.
colour_palettes(colours = NULL)
color_palettes(colours = NULL)
colours |
vector of source colour palettes to return, one or many of "viridis","rcolorbrewer","grdevices","colorspace","colorramp". NULL will reutrn all palettes. |
The palettes avaialble in colourvalues
have been derived from those avaialble in
the libraries
viridis
RColorBrewer
grDevices
colorspaces
colorRamp
colour_palettes()
colour_palettes( "viridis" )
colour_palettes( colours = c("rcolorbrewer","grdevices") )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.