For extra credit, which is worth nothing, pick your 32 colors from a palette of 4,4,4. This means each of the RGB values is between 0 and 15, instead of 0 and 255! Good luck!
Hm, wouldn't this be better?00, 11, 22, 33, 44, 55, 66, 77, 88, 99, aa, bb, cc, dd, ee, ff