public static int applyColorAlpha(int color,float alpha){
  final int originalAlpha=Color.alpha(color);
  return (color & 0x00ffffff) | (Math.round(originalAlpha * alpha) << 24);
}

public static int applyColorAlpha ( int color , float alpha ) { final int originalAlpha = Color . alpha ( color ) ; return ( color & 0x00ffffff ) | ( Math . round ( originalAlpha * alpha ) << 24 ) ; }
modify the colors translucency by alpha [ 0 . . 1 ] with respect to the original color alpha .
