title: How to write classes with parameter in scss?
body: <p>Is it possible to write a class with predefined color-HexCodes?
  So that in my HTML I can create elements like:</p>
  <pre><code>$yellow: #FFFF00;
  
  .color($colorName) { 
      color: $colorName; 
  }
  
  &lt;div class=&quot;color(yellow)&quot;&gt;
  &lt;/div&gt;
  </code></pre>
  <p>This would be my problems solution. My problem is that I have too much classes with different colors in my .scss file.</p>
  <p>Thanks</p>