static int brightnessToRGBA(int brightness) { ret 0xFF000000 | clamp(b, 0, 255)*0x010101; }