Little function intended for internal use; will transform colors (expressed either as numerical or characters) into hexadecimal code.
col2hex(col)
Either numeric or character; color(s) to be transformed.
The color(s) used as input, but expressed as hexadecimal code(s).