public static int getARGB(final int red, final int green, final int blue, final int alpha) {
int argb = (alpha<<24)|(red<<16)|(green<<8)|blue;
return argb;
}
So I have to convert the different colour ints to an argb value. Is the way I have done correct?