Returns the alpha component of a color in ARGB format.
static int alphaFromArgb(int argb) { return argb >> 24 & 255; }