col2HSV: col2HSV: converts a color to HSV in hexadecimal notation

Description Usage Arguments Value Author(s) See Also Examples

View source: R/col2HSV.R

Description

col2HSV converts an R color (or a set of colors) into an HSV color model, and then returns the color names in hexadeciaml notation

Usage

1
  col2HSV(color)

Arguments

color

an R color name or a color in hexadecimal notation

Value

A character vector with the color(s) name(s) in hexadecimal notation

Author(s)

Gaston Sanchez

See Also

wheel

Examples

1
2
# convert 'tomato'
col2HSV("tomato")

Example output

[1] "#FF6347"

colortools documentation built on May 2, 2019, 2:10 p.m.