Convert numbers and R colour strings into corresponding hex codes for colours
as.hexcol(x)
x
the colour value(s) to be converted to hex values.
hex codes for colours