Change task.color to task.classes.