I'm creating a color wheel that has 360 colors. The gist of my markup looks like this:
HTML:
<table class="table1">
<td class="medium-grey"></td>
<td class="charcoal"></td>
<td class="black"></td>
...
CSS:
.medium-grey { background-color: #76878e; }
.charcoal { background-color: #534259; }
.black { background-color: #060807; }
I am adding a background color via CSS to each td. I have alot of colors to manually add to each table and am finding this cumbersome. I am curious if there's a way I can loop through groups of colors to append to td classes with javascript or sass mixins.