Add event colors according to task.