Converts the RGBA color representation to ARGB.
static int rgbaToArgb(int rgbaColor) { int a = rgbaColor & 0xFF; int rgb = rgbaColor >> 8; return rgb + (a << 24); }