show_palette {swatches} | R Documentation |
Display a color palette
Description
Given a character vector (hex RGB values), display palette in graphics window.
Usage
show_palette(palette)
Arguments
palette |
vector of character hex RGB values |
Examples
# built-in palette
keep_the_change <- read_ase(system.file("palettes",
"keep_the_change.ase", package="swatches"))
print(keep_the_change)
# show_palette(keep_the_change)
[Package swatches version 0.5.0 Index]