Following code does not compile in htlatex<div>
<p style="margin:0px"><br></p><p style="margin:0px">\documentclass[]{minimal}</p>
<p style="margin:0px">\usepackage[usenames]{xcolor}</p>
<p style="margin:0px"><br></p>
<p style="margin:0px">\begin{document}</p>
<p style="margin:0px">\textcolor{gray}{Lorem ipsum.}</p>
<p style="margin:0px">\end{document}</p>
<p style="margin:0px"><br></p><div>Changing gray to lightgray (or any other named color?) helps.</div><div>The error code is: </div><div>Argument of \HColor:gray has an extra }<br></div><div><br></div><div>Best regards </div>
<div>Wojtek</div>-- <br>---(___C'><br>
</div>