Added type key to the config array to render the color as a hex string in options