This question will probably be answered in less than 5 minutes from so easy, but I'm breaking my head ...
I'll simplify a lot here, but I think you can understand:
I create elements by javascript, each has its background color, there are 8 colors that are in classes. (.1 background, .2 background ...).
But it's only 8 colors, how do I create more than 8 elements to count back to 0?