colorized the event types