' . substr($txt,$counter,1) . ''; $counter++; } $output .= "
"; } return $output; } function rgb2hex($rgb) { for($i=0; $i