change the color by category