static int rgbIntFromDoubles(dbl r, dbl g, dbl b) { ret limitToUByte(iround(r)) << 16 | limitToUByte(iround(g)) << 8 | limitToUByte(iround(b)); }