kelly | R Documentation |
Retrieve one or more of Kelly's 22 color specifications as hex, rgb triplets or a data.frame
kelly(index, ...)
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 |
color values in the form specified
a character vector of hexidecimal strings, this is the default
a 3-column matrix of red, green and blue values
a 4 column data frame, see KELLYLUT
plot(2:22, pch = 19, col = kelly(2:22))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.