You could use a bits, sort of like the way colour is represented $AABBCCDD then you could store a number up to 256 quite easily.