You need to modify CGridView’s css file. Copy the CSS folder from the framework directory (framework\zii\widgets\assets\gridview) to your local folder structure. CGridView has a cssFile property to point to the new file. There, you can change the row colors for odd/even & :hover.