palette
Color Palette

Description

Stores a group of colors as a palette

Usage

palette(value)

Arguments

value a character vector containing color names or strings. The color names should be taken from the output of colors() and the color strings should be of the form "#RRGGBB" or "#RRGGBBAA", giving the 2-digit hexadecimal (range 00-FF) values of the red, green, blue, and possibly alpha (opacity) values of the colors.

Details

This function is used mainly in conjunction with the R graphics system. TIBCO Enterprise Runtime for R does not have a graphics system and this function is supplied only to make a few other functions work in the same way that they do in R.
Value
returns a character vector giving the previously-specified palette.
See Also
col2rgb
Examples
oldPalette <- palette(c("black", "red", "green", "blue", "yellow", "purple"))
col2rgb(3)
palette(oldPalette)
Package grDevices version 4.0.0-28
Package Index