kelly: Retrieve one or more of Kelly's 22 color specifications as...

Description Usage Arguments Value Examples

Description

Retrieve one or more of Kelly's 22 color specifications as hex, rgb triplets or a data.frame

Usage

1
kelly(index, ...)

Arguments

index

a vector of indices to retrieve if missing then all 22 are returned Watlingtons colors are named, so it is possible to specify by name or position index

...

further arguments for get_lut

Value

color values in the form specified

hex

a character vector of hexidecimal strings, this is the default

rgb

a 3-column matrix of red, green and blue values

data.frame

a 4 column data frame, see KELLYLUT

Examples

1
plot(2:22, pch = 19, col = kelly(2:22))

btupper/catecolors documentation built on May 13, 2019, 8:41 a.m.