2 This is
<span style=
"background-color: black; color: white">inverse text
</span> with default fg and bg.
3 <span style=
"color: #cd0000">This is
</span><span style=
"color: white; background-color: #cd0000">inverse text
</span><span style=
"color: #cd0000"> with red fg and default bg.
</span>
4 <span style=
"background-color: #cd0000">This is
</span><span style=
"background-color: black; color: #cd0000">inverse text
</span><span style=
"background-color: #cd0000"> with default fg and red bg.
</span>
5 <span style=
"background-color: #cd0000; color: #00cd00">This is
</span><span style=
"background-color: #00cd00; color: #cd0000">inverse text
</span><span style=
"background-color: #cd0000; color: #00cd00"> with green fg and red bg.
</span>