Color/appearance of red bar at the top

Saw the possibility to delete the bar here: Delete red bar at the top of the app?

but this will supress the three-dot-menu at the top right as well.

how to only change or supress the colored bar?

tried:

<style>
        header {color: blue;}
    </style>

and

<style>
        header {background: #000;}
    </style>

without success

thank you

It is answered basically here: Keep menu without header?

there is one disadvantage: when changing the page through the navigation panel, the colored bar becomes visible shortly while loading. with supressing it, the menu bumps up and down as the height from top changes slightly.

better approach:

[data-testid="stDecoration"] {background: #FFFFFF;}