get_palette: get_palette

Description Usage Arguments Value

View source: R/utils.R

Description

get a palette of colors at chosen transparency colors are coral, hardwood, gold, forest, sky, ocean violet, rose, crimson choose a palette with a vector of names get a random palette length 'x' if 'x' is a number

Usage

1
get_palette(x, a = 0.33)

Arguments

x

is a vector of color names or number

a

is the alpha transparency (0,1)

Value

a palette of rgb values


crumplecup/riparian documentation built on April 14, 2021, 1:43 p.m.