rem: if (color.search( /rgb.*/ ) != -1) { var res = color.match( /rgb\((\d*),(\d*),(\d*)\)/ ); 
add: if ( /rgb\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.test(color) ) { 
context: function ConvertRGBColorIntoHEXColor(color){  if (color.search( /rgb.*/ ) != -1)  {    var res = color.match( /rgb\((\d*),(\d*),(\d*)\)/ );    var r = Number(RegExp.$1).toString(16);    if (r.length == 1) r = "0"+r;    var g = Number(RegExp.$2).toString(16);    if (g.length == 1) g = "0"+g;    var b = Number(RegExp.$3).toString(16);    if (b.length == 1) b = "0"+b;    return "#"+r+g+b;  }  else  {    return color;  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/ab1e4fd4a8b56fe6f46fddf45d038a19dcef58d5/editorUtilities.js/clean/editor/ui/composer/content/editorUtilities.js