Convert R colors to hexadecimal

col2hex(...)

Arguments

...

R colors

Value

The hexadecimal representations of input colors

See also

Other color_theory: blend_colors(), contrast-theory, text_color()

Examples

col2hex('black', 'red', 'grey')
#> [1] "#000000FF" "#FF0000FF" "#BEBEBEFF"