title: Custom taxonomy as HTML class
body: <p>I have a custom taxonomy that needs a different colour applied to each term inside. I figured I could grab the slug of the taxonomy and put it in a class. Unfortunately I've been defeated with every try. I've tried a few things with get terms to no avail.</p>
  
  <p>Sample of what I'd like</p>
  
  <pre><code>&lt;div class="&lt;?php echo $myCustomClass; ?&gt;"&gt;the custom taxonomy&lt;/div&gt;
  </code></pre>