Create a vector of colors from vectors specifying hue, saturation and value.
hsv(h = 1, s = 1, v = 1, alpha)
numeric vectors of values in the range
numeric vector of values in the range
Semi-transparent colors (
0 < alpha < 1) are supported only on
some devices: see
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
hcl for a perceptually based version of
rgb2hsv for RGB to HSV conversion;
1 2 3 4 5 6 7 8 9 10 11 12
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.