[ top | up ]

HSV Color Specification

Syntax

hsv(h, s, v)

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.

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.