59         $string = trim($string);
 
   60         $string = str_replace(array(
"\n", 
"\t", 
"\r"), 
' ', $string);
 
   69     public function make($string) {
 
   82         return preg_replace(
'/rgb\((\d+)\s*,\s*(\d+)\s*,\s*(\d+)\)/', 
'rgb(\1,\2,\3)', $string);
 
   92         for ($i = 0, $c = strlen($string); $i < $c; $i++) {
 
   93             if ($string[$i] === 
'\\') {
 
   99                 if (ctype_xdigit($string[$i])) {
 
  101                     for ($a = 1, $i++; $i < $c && $a < 6; $i++, $a++) {
 
  102                         if (!ctype_xdigit($string[$i])) 
break;
 
  103                         $code .= $string[$i];
 
  111                     if ($i < $c && trim($string[$i]) !== 
'') $i--;
 
  114                 if ($string[$i] === 
"\n") 
continue;