Refactored the whole of the Terminal packages helpers.
Roughly mapped all 256 colours to their legacy colour.