list_palettes: list_palettes(): List All Color Palettes from RDS

View source: R/list_palettes.R

list_palettesR Documentation

list_palettes(): List All Color Palettes from RDS

Description

Load and list all available color palettes compiled into an RDS file.

Usage

list_palettes(
  palette_rds = system.file("extdata", "palettes.rds", package = "evanverse"),
  type = c("sequential", "diverging", "qualitative"),
  sort = TRUE,
  verbose = TRUE
)

Arguments

palette_rds

Path to the RDS file. Default: "inst/extdata/palettes.rds".

type

Palette type(s) to filter: "sequential", "diverging", "qualitative". Default: all.

sort

Whether to sort by type, n_color, name. Default: TRUE.

verbose

Whether to print listing details to console. Default: TRUE.

Value

A data.frame with columns: name, type, n_color, colors.

Examples

list_palettes()
list_palettes(type = "qualitative")
list_palettes(type = c("sequential", "diverging"))

evanverse documentation built on March 10, 2026, 5:07 p.m.