Change the navbar color in MaterializeCSS
<p>I want to dynamically change the background color of the navbar from Materialize, so it needs to be done via a CSS. 
I tried doing</p>

<pre><code>.nav-wrapper{
 background-color: &lt;MYCOLOR HERE&gt; !important;
}
</code></pre>

<p>But it just stays the same colored as mentioned in the class of the navbar. </p>