public static int convertToColorInt(String a,String r,String g,String b,boolean useAlpha){
  int alpha=useAlpha ? Integer.parseInt(a,16) : 0xff;
  int red=Integer.parseInt(r,16);
  int green=Integer.parseInt(g,16);
  int blue=Integer.parseInt(b,16);
  return Color.argb(useAlpha ? alpha : -1,red,green,blue);
}

public static int convertToColorInt ( String a , String r , String g , String b , boolean useAlpha ) { int alpha = useAlpha ? Integer . parseInt ( a , 16 ) : 0xff ; int red = Integer . parseInt ( r , 16 ) ; int green = Integer . parseInt ( g , 16 ) ; int blue = Integer . parseInt ( b , 16 ) ; return Color . argb ( useAlpha ? alpha : - 1 , red , green , blue ) ; }
concerts a string color ( # ff882465 ) to an int color
