private static int PACKW(short r, short g, short b) { return (W2B(r) | (W2B(g) << 8) | (W2B(b) << 16) | (int)A1); }