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