Refactored colour codes. Added 0-9, a-e