Convert a color that R understands into the corresponding hexadecimal code
Examples
if (FALSE) { # \dontrun{
col2hex(c("gray50", "skyblue"))
} # }
Convert a color that R understands into the corresponding hexadecimal code
if (FALSE) { # \dontrun{
col2hex(c("gray50", "skyblue"))
} # }