This help topic is for R version 0.60. For the current version of R, try https://stat.ethz.ch/R-manual/R-patched/library/base/html/hsv.html
hsv {base}R Documentation

HSV Color Specification

Usage

hsv(h=1, s=1, v=1, gamma=1)

Arguments

h, s, v

numeric vectors of values in the range [0,1] for “hue”, “saturation” and “value” to be combined to form a vector of colors. Values in shorter arguments are recycled.

gamma

a “gamma correction”, see ...

Value

This function creates a vector of “colors” corresponding to the given values in HSV space. The values returned by hsv can be used with a col= specification in graphics functions or in par.

See Also

rainbow, rgb, gray.

Examples

hsv(.5,.5,.5)

[Package base version 0.60 ]