col2hex() standardizes R color strings
into a unique RGBA hex string.
All fully transparent colors get standardized
to "#FFFFFF00".
Arguments
- x
Color value as supported by
grDevices::col2rgb().
Value
A standardized RGBA hex string (as returned by grDevices::rgb()).