col2hsv {IDPmisc}R Documentation

Convert Color to hsv Code

Description

Converts color names or values to hsv code.

Usage

col2hsv(col)

Arguments

col Vector of color code.

Value

Matrix with the rows

h Hue of hsv-Signal: 0=red, 1/3=green, 2/3=blue, 1=red.
s Saturation of hsv-Signal: 0=white, 1=full color.
v Value of hsv-Signal: 0=black, 1=full color.

Author(s)

Rene Locher

See Also

col2rgb, rgb2hsv, hsv

Examples

col2hsv(c("blue","green","red"))

[Package IDPmisc version 1.0.01 Index]