Converted with 21.2 version on windows 10 shapes are there, but no colors:
using (var viewer = new Viewer("sample.dwg"))
{
var options = HtmlViewOptions.ForEmbeddedResources("p1.html");
viewer.View(options, 1);
…... Checked with version 21.5, the problem is still there...