public static Color reduceColorBrightness(Color color){
  int r, g, b;
  float[] hsb=new float[3];
  r=color.getRed();
  g=color.getGreen();
  b=color.getBlue();
  Color.RGBtoHSB(r,g,b,hsb);
  hsb[2]*=0.80f;
  hsb[1]*=0.85f;
  return Color.getHSBColor(hsb[0],hsb[1],hsb[2]);
}

public static Color reduceColorBrightness ( Color color ) { int r , g , b ; float [ ] hsb = new float [ 3 ] ; r = color . getRed ( ) ; g = color . getGreen ( ) ; b = color . getBlue ( ) ; Color . RGBtoHSB ( r , g , b , hsb ) ; hsb [ 2 ] *= 0.80f ; hsb [ 1 ] *= 0.85f ; return Color . getHSBColor ( hsb [ 0 ] , hsb [ 1 ] , hsb [ 2 ] ) ; }
returns the original color , just slightly less bright .
