If you are CSS pro you could manage that.
But my advice is to use the Datagrid2 instead, which can do this better using Dynamic classes
If you want the colors to depend on the value, you can use the grid cell styler.
You can probably modify it to work in datagrid2 as well.