colortools (version 0.1.5)

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

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

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

See Also

wheel

Examples

Run this code
# convert 'tomato'
col2HSV("tomato")

Run the code above in your browser using DataLab