powered by
Load and list all available color palettes compiled into an RDS file.
list_palettes( palette_rds = system.file("extdata", "palettes.rds", package = "evanverse"), type = c("sequential", "diverging", "qualitative"), sort = TRUE, verbose = TRUE )
A data.frame with columns: name, type, n_color, colors.
data.frame
name
type
n_color
colors
Path to the RDS file. Default: "inst/extdata/palettes.rds".
"inst/extdata/palettes.rds"
Palette type(s) to filter: "sequential", "diverging", "qualitative". Default: all.
"sequential"
"diverging"
"qualitative"
Whether to sort by type, n_color, name. Default: TRUE.
Whether to print listing details to console. Default: TRUE.
list_palettes() list_palettes(type = "qualitative") list_palettes(type = c("sequential", "diverging"))
Run the code above in your browser using DataLab