emit receive msg, set color