R/color_theory.R
col2hex.Rd
Convert R colors to hexadecimal
col2hex(...)
R colors
The hexadecimal representations of input colors
Other color_theory: blend_colors(), contrast-theory, text_color()
blend_colors()
contrast-theory
text_color()
col2hex('black', 'red', 'grey') #> [1] "#000000FF" "#FF0000FF" "#BEBEBEFF"