added color to hex conversion