added color-coded message to html file