Change the top menu colour?

I am brand new to wordpress, and have just started making my website. However for the life of me I cannot change the top menu background colour (the one that says your site name, the menu and the search icon). I have tried all sorts of code snippets provided in this forum, but it remains white.


Hello there,

I hope you are doing well today.

You can use the following CSS code to change the navigation bar color by going to Appearance > Customize > Additional CSS and pasting it there.

/*Nav bar color*/
nav {
    background: red;

Best Regards,