Added 256 color support