col2hex: Convert color names to hex RGB strings

Description Usage Arguments Value Author(s) See Also Examples

Description

Convert color names to hex RGB strings

Usage

1
col2hex(cname)

Arguments

cname

Color name(s)

Value

Character vector giving the hex color code translation of the provided color names.

Author(s)

Gregory R. Warnes

See Also

col2rgb, colors, rgb

Examples

1
col2hex(c("red","yellow","lightgrey"))


Search within the gplots package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.