Convert color names to hex RGB strings
Convert color names to hex RGB strings
col2hex(cname)
cname |
Color name(s) |
Character vector giving the hex color code translation of the provided color names.
Gregory R. Warnes
col2hex(c("red","yellow","lightgrey"))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.