Another problem with colors and HTML

i want to render this html line

My Text

the aspose will give me an exeption becuase of the style tag

so can you give me any alternative way to set the background color for my text

PS: the color is coming from the data base in RGB Format

thanks inadvance

The following code works in my test:

builder.InsertHtml(@"

My Text

");

Please make sure you are using the latest version of Aspose.Words.

Best regards,