Yikes - font tags. You can also do it with css and table rows like in this example http://www.desilva.biz/php/alternate.html
If you need to use loads of colours or styles just throw them in an array then use the modulus operator and a counter to cycle through them
// css styles defined elsewhere
$rowStyles = array('rowLight', 'rowDark', 'rowHot', 'rowCold');
// well this will be 4
$numStyles = count($rowStyles);
$count = 0;
echo '<table>';
while ($row = mysql_fetch_assoc($result))
{
echo '<tr><td class="';
echo $rowStyles[$count % $numStyles]; // will cycle 0, 1, 2, 3
echo '">', $row['somefing'], '</td></tr>';
$count++;
}
echo '</table>';