add the different classes to display different color in the grid.