<?php $color1 = "00";for($count=0; $count <150 ; $count++){ echo "<font color=".useColor_($color1)."><b>|</b>";}function useColor_($color1){ global $color1; $c1 = sprintf("%02x",++$color1); $c2 = sprintf("%02x",256-$color1) ; $c3 = "ff" ; $colorValue="#$c3$c2$c1"; return($colorValue);}?>