I have a HTML file that is using a style.css and has colors, ex.:
<font style=BACKGROUND-COLOR:red; color=white>FOO</font>
How can I "export" this local file on my Ubuntu 12.04 to a PDF? (the look and color should stay the same). I tried ex.: Ctrl+P -> print to PDF, but it didn't preserve the colours. I tried
htmldoc with the
--color option.. but it's the same problem..
It would be great to do this via the command line.