Hi guys!

I've got a list box full of items that have percentage values. What I need to do is colour code the background of the listbox items depending on the value of the percentage smoothly from green (being 100%) to red (0%).

I can't seem to think how to do this, so advice or an existing piece of code would be a great help.

Thanks!