Well basically you have 2 options.
1) Model Property - Put the class as a Model property for each of the people, that way you can assign different ones to different people.
2) Pure CSS - If you want the CSS route, just specify different colours for different selectors.
Personally, I'd go for number 2. Here's examples:
Different Row Colours - DEMO
For different row colours for each item, you'll have to do something like:
tr:nth-child(2)
{
background-color: red;
}
tr:nth-child(3)
{
background-color: blue;
}
tr:nth-child(4)
{
background-color: green;
}
tr:nth-child(5)
{
background-color: yellow;
}
tr:nth-child(6)
{
background-color: orange;
}
tr:nth-child(7)
{
background-color: purple;
}
Alternating Rows - DEMO
For alternating rows, just do:
tr:not(:nth-child(1)):nth-child(odd) /* excluding first row (header) */
{
background-color: blue;
}
tr:nth-child(even)
{
background-color: red;
}