I have an application which needs to display the rating for a product in an easy to understand visual way. I was thinking of colour coding using the the universal red bad yellow ok and green good system with intermediate colours. Ideally I would like to do this algorithmically to convert a rating from 0-100 into am RGB colour value.
Failing that a stepped system where a 0-10 rating system with each hard step mapped to a specific colour would do. Does any one have experience on which algorithm will be suitable for this or which ten colours I should use if I go with a stepped solution.