Html with color - flush_any("html:" + my_html_content)

I am writing a plugin that generates HTML with CSS.
So I am using Python and flush_any(“html” + my_html_content) to feed data back to TeXmacs.

The problem is that all CSS that is in my html content, no matter what kind of style, inline or an import via link, I see no colors.

My question:
Is there a way to flush html back to TeXmacs via flush_any, but with colors?

I believe only <font color=...> is supported. I can’t check right now, but you could check what kind of HTML is exported.

I wrote this static test:

html_test = """
<!DOCTYPE html>
<html>
<head>
<style>
body {background-color: powderblue;}
h1   {color: blue;}
p    {color: red;}
</style>
</head>
<body>
    <h1>This is a heading</h1>
    <p>This is a paragraph.</p>

    <h1 style="color:blue;">A Blue Heading</h1>
    <p style="color:red;">A red paragraph.</p>

    <font size="6"
          face="verdana"
          color="green">
            COLOR TEXT 1
        </font>
    <br>
  
    <font size="6"
          face="arial" 
          color="red">
            COLOR TEXT 2
        </font>
    <br>
</body>
</html>
""" 
...

flush_any("html:" + html_test)

the only colored text is COLOR TEX 1 and COLOR TEXT 2