title: SCSS dynamic color changing
body: <p>I just started using SCSS and I've been having some problems on dynamically changing the color of my website. What I want to do is create a list of colors and every time I refresh the page, it changes the color selected. Here is the code: </p>
  
  <p>SCSS:</p>
  
  <pre><code>$colors: (
        #cc6698,
        #0869ad,
        #ff8300,
        #7A86b8,
        #f05133,
        #2aa9e0,
        #71bf45,
        #ef0e39,
        #9e79d7,
      );
  
      $color: nth($colors, random(length($colors)));
  </code></pre>
  
  <p>However, it changes the color only when I modify the file, not on every page refresh. What should I do? Thanks. </p>