Why can't I output the style tag in my twig template?
I've done it to print a background color like this in a paragraph template

&lt;div class="container color-{{ content.field_text_color[0] }}" style="background: #{{ content.field_card_color[0] }};"&gt;


And it just worked fine. Can you give us the full template maybe we can figure out why it doesn't work.