By the way, to actually answer your question about hex, any integer is fine, it's just that in hex, it can be a bit easier to see how the bits combine, since there is no rounding.  e.g.  0x20 | 0x8 | 0x4 = 0x2c.  But you could also write 32 | 8 | 4 = 44.