hsvDemo: HSV Colors

View source: R/hsvDemo.R

hsvDemoR Documentation

HSV Colors

Description

Plot HSV colors as a wheel with full saturation and value.

Usage

hsvDemo(n = 400, col = hsv(seq(0, 1 - 1/n, 1/n)), labels = "n",
  bg = "black")

Arguments

n

the number of hue values.

col

an optional set of colors, to show some other palette.

labels

a scale to use as labels: "n":none, 1:0-1, 255:0-255, 360:0-360, "f":0-f.

bg

the background color.

Value

NULL, but a plot is drawn.

See Also

hclDemo, rgbDemo.


arnima-github/arni documentation built on Oct. 28, 2023, 6:18 p.m.