rem: Rico.Color.HSBtoRGB = function(hue, saturation, brightness) { 
add: OpenLayers.Rico.Color.HSBtoRGB = function(hue, saturation, brightness) { 
context: Rico.Color.HSBtoRGB = function(hue, saturation, brightness) {   var red   = 0;    var green = 0;    var blue  = 0;   if (saturation == 0) {      red = parseInt(brightness * 255.0 + 0.5);       green = red;       blue = red;    }    else {      var h = (hue - Math.floor(hue)) * 6.0;      var f = h - Math.floor(h);      var p = brightness * (1.0 - saturation);      var q = brightness * (1.0 - saturation * f);      var t = brightness * (1.0 - (saturation * (1.0 - f)));      switch (parseInt(h)) {         case 0:            red   = (brightness * 255.0 + 0.5);            green = (t * 255.0 + 0.5);            blue  = (p * 255.0 + 0.5);            break;         case 1:            red   = (q * 255.0 + 0.5);            green = (brightness * 255.0 + 0.5);            blue  = (p * 255.0 + 0.5);            break;         case 2:            red   = (p * 255.0 + 0.5);            green = (brightness * 255.0 + 0.5);            blue  = (t * 255.0 + 0.5);            break;         case 3:            red   = (p * 255.0 + 0.5);            green = (q * 255.0 + 0.5);            blue  = (brightness * 255.0 + 0.5);            break;         case 4:            red   = (t * 255.0 + 0.5);            green = (p * 255.0 + 0.5);            blue  = (brightness * 255.0 + 0.5);            break;          case 5:            red   = (brightness * 255.0 + 0.5);            green = (p * 255.0 + 0.5);            blue  = (q * 255.0 + 0.5);            break;        }    }   return { r : parseInt(red), g : parseInt(green) , b : parseInt(blue) };}
meta: 8310	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8310/112978ac3d807e4a8b7e412ef2f585650c0506d8/Color.js/clean/lib/Rico/Color.js