vangogh_export: 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