extend color formatting to HTML