R/visu.R
col2hex.Rd
Convert color to hexadecimal
col2hex(x, alpha = FALSE)
name of color
get transparent color
hex color
col2hex('red') #> red #> "#FF0000"