col2hex: Convert color name to hex string. Code borrowed from...

View source: R/utils-col2hex.R

col2hexR Documentation

Convert color name to hex string. Code borrowed from gplots::col2hex()

Description

Convert color name to hex string. Code borrowed from gplots::col2hex()

Usage

col2hex(cname)

Arguments

cname

Color name as a common name. If a hex string is supplied, it will be returned unchanged.

Value

The HEX string representing the color


pacific-hake/pacifichakemse documentation built on June 11, 2024, 4:07 a.m.