R/plots-summaries.R
col2hex.Rd
Convert color name to hexadecimal
col2hex(color_name)
Character. Color name recognized by R.
Character. Hexadecimal color code.
col2hex("forestgreen") #> [1] "#228B22" col2hex("blue") #> [1] "#0000FF"