Renders html files correctly with the palette