col2hex.Rd
Convert color names to hex RGB strings
col2hex(cname)
Color name(s)
Character vector giving the hex color code translation of the provided color names.
Gregory R. Warnes
col2rgb, colors, rgb
col2rgb
colors
rgb
col2hex(c("red","yellow","lightgrey")) #> [1] "#FF0000" "#FFFF00" "#D3D3D3"