Generate color for the grid
OMG it works