Change it to your record settings or you can use the webassist utility this over here is manually depends on which extensions you have for that utility.
<?php if ("".$recordset('price') ."" < "".$recordset('lowest_price') ."") { ?><span style="color:#C00;"><?php } else{ ?>
<?php if ("".$recordset('price') ."" < "".$recordset('avg_price') ."") { ?><span style="color:#003399;"><?php } else{ ?>
<span><?php } } ?><?php echo $recordset('price'); ?></span>