set color attribute of deprecated message