void changeColor(int a, int r, int g, int b){
    String hex = + Integer.toHexString(a) + Integer.toHexString(r) +
                   Integer.toHexString(g) + Integer.toHexString(b);
    int color = hex //Obviously this is a type mismatch, but how do I do this?
    mpaint.setColor(color);
}
Obviously this is a type mismatch, but how do I do this?
 
     
    