             hue = startH;
         else
             hue = startH + deltaH * fraction;
-        var rgb:uint = HSBColor.HSBtoRGB(hue, saturation, brightness);
+        var rgb:uint = HSBColor.convertHSBtoRGB(hue, saturation, brightness);
         return rgb;
     }
 

            newS = Math.max(start.saturation - delta.saturation, 0);
            newB = Math.max(start.brightness - delta.brightness, 0);
        }
        return HSBColor.HSBtoRGB(newH, newS, newB);
    }

    /**

    {
        super();
        if (startRGB != StyleManager.NOT_A_COLOR)
            startHSB = HSBColor.convertRGBtoHSB(startRGB);
        if (endRGB != StyleManager.NOT_A_COLOR)
            endHSB = HSBColor.convertRGBtoHSB(endRGB);
    }
   
    /**
