code: public static Color lerpColor(HSBColor color1, HSBColor color2, double amt) {
          double hue, saturation, brightness, alpha;
          hue        = color2.hue        * amt + color1.hue        * (1 - amt);
          saturation = color2.saturation * amt + color1.saturation * (1 - amt);
          brightness = color2.brightness * amt + color1.brightness * (1 - amt);
          alpha      = color2.alpha      * amt + color1.alpha      * (1 - amt);
          return new HSBColor(hue, saturation, brightness, alpha);
      }
docs: Calculates a color or colors between two color at a specific increment.
  
  @param color1
  interpolate from this color
  @param color2
  interpolate to this color
  @param amt
  between 0.0 and 1.0
  
  @return
  The calculated color values.