Skip to contents

Convert a color that R understands into the corresponding hexadecimal code

Usage

col2hex(color)

Arguments

color

Color(s) that R understands

Author

EDG

Examples

if (FALSE) { # \dontrun{
col2hex(c("gray50", "skyblue"))
} # }