add html and c output modes
use 256 color palette