new message function to handle colors