Returns whether a color in ARGB format is opaque.
static bool isOpaque(int argb) { return alphaFromArgb(argb) >= 255; }