I wouldn't do it. Flashing a message in different colors is one of the most obnoxious things you can do to a user IMO.