Output hex color value for transparent values if `UseHex` is true
mganss opened this issue · comments
Michael Ganss commented
Currently, when UseHex
is true, color values are output as hex only if alpha is 1.0.
AngleSharp.Css/src/AngleSharp.Css/Values/Primitives/Color.cs
Lines 376 to 381 in 15deaee
AngleSharp.Css/src/AngleSharp.Css/Values/Primitives/Color.cs
Lines 398 to 401 in 15deaee
Perhaps this could be changed to include colors with alpha < 1.0, too.