Hello,
My team and I are using Aspose.Slides for .NET 17.11
and we are having a problem with color of paragraphs added from HTML.
Following HTML code
<p><span style="color: rgb(100, 100, 100);">Lorem Ipsum Dolor Sit Amet</span></p>
creates paragraph which color is “{Name=ff0a0a0a, ARGB=(255, 10, 10, 10)}”.
I did some research and I found out when color’s component (R, G, B) is between 100-109 then Aspose framework changes that value to 10.
Similar case is for range 200-209, but here framework changes value to 20.
I.E:
for
<p><span style="color: rgb(50, 108, 128);">Lorem Ipsum Dolor Sit Amet</span></p>
Aspose will create paragraph with following color: RGB( 50, 10, 128)
for
<p><span style="color: rgb(100, 100, 100);">Lorem Ipsum Dolor Sit Amet</span></p>
Aspose will create paragraph with following color: RGB( 10, 10,10)
for
<p><span style="color: rgb(203, 105, 207);">Lorem Ipsum Dolor Sit Amet</span></p>
Aspose will create paragraph with following color: RGB( 20, 10, 20)
I updated Aspose.Slides for .NET to 18.2.1, but described behaviour still occurs.
Regards,
Bartosz