[jQuery] unordered list each li a different background

[jQuery] unordered list each li a different background


Hi
What is the best way to give a different class to each item in an unordered list
just a for each and then apply a new class or is there something better
Armand