Differennt color background to iatems on dropdown list

I want to put a different color background on each item in my dropdownlist, can anyone suggest a way to do this.
I am using /bootstrap/css/html
Any help welcpme

Hey, so one way you could do it is assign a different class to each individual list item, and then give each class a different color/background-color. You should be able to make something work with that.

Yes, thanks for that.