Color formatting for IE and Firefox browsers