Learn R Programming

cape (version 2.0.2)

get.col: Retrieve colors for use in plotting.

Description

This function is used internally to retrieve colors for plotting.

Usage

get.col(col.name, light.dark = c("light", "dark"))

Arguments

col.name
A character string indicating the color values to be retrieved. One of "green", "purple", "orange", "blue", "brown", "yellow", or "gray".
light.dark
A character string indicating whether the values returned should be in a light or dark range.

Value

Returns a vector of three hex values specifying the colors requested.