Added support for 256 colours. No idea if it actually works.