Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

col2hsv

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

Examples

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

IDPmisc

'Utilities of Institute of Data Analyses and Process Design (www.zhaw.ch/idp)'

v1.1.20
GPL (>= 3)
Authors
Rene Locher [aut, cre], Andreas Ruckstuhl [ctb]
Initial release
2020-01-21

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.