show_palette: Display a color palette

Description Usage Arguments Examples

View source: R/show-palette.R

Description

Given a character vector (hex RGB values), display palette in graphics window.

Usage

1

Arguments

palette

vector of character hex RGB values

Examples

1
2
3
4
5
# 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)

hrbrmstr/swatches documentation built on Dec. 22, 2017, 10:40 p.m.