If you want to treat items in the "middle of the ranking" differently than those further from the middle, you could do a ranking that combines standard deviation or even variance of the weight relative to the mean with a color function that is more uniform. So in the center of the spread, the variance will be smaller and the color will be relatively more important, whereas at the extremes, the variance will be most important.