I'm new to javascript, so be easy. 

I just want to the user to be able to write `<li> </li>` and jquery will choose the colour depending on the list order. At the moment, the user would have to put in `class="b"`, or `class="c"`. 

Am I right in assuming I would create an array of colours, and use some sort of loop?

A visual example of what I'm hoping to achieve: <http://popmeup.org/about>