washi_pal {washi} | R Documentation |
Color palettes are stored in a named list.
washi_pal
An object of class list
of length 11.
List of available washi
color palettes
Other color palette functions:
washi_pal_setup()
,
washi_pal_view()
# List names of available palettes
names(washi_pal)
# Get hex codes from a palette using dollar `$name` or
# double bracket
# `[["name"]]` operators for extracting list elements
washi_pal$standard
washi_pal[["green_gradient"]]
# Extract a color from the standard WaSHI palette
washi_pal[["standard"]][["green"]]