vangogh_export: Export palettes to JSON or CSV

View source: R/palette_accessibility.R

vangogh_exportR Documentation

Export palettes to JSON or CSV

Description

Export palettes to JSON or CSV

Usage

vangogh_export(
  file,
  format = c("json", "csv"),
  n = NULL,
  type = "discrete",
  add_metadata = FALSE
)

Arguments

file

File path including filename

format

"json" or "csv"

n

Number of colors (for continuous palettes)

type

"discrete" or "continuous"

add_metadata

Logical: include HCL metadata if available


vangogh documentation built on Aug. 22, 2025, 1:10 a.m.