col2hsv: Convert Color to hsv Code

View source: R/col2hsv.R

col2hsvR 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"))

IDPmisc documentation built on May 29, 2024, 2:48 a.m.