• That's correct (although G goes up to 63) - it's called 'RGB565' and is a standard way of packing RGB data into 16 bits.

    If you just want an easy solution use g.setColor though :)

About

Avatar for Gordon @Gordon started