Display Threshold values and their corresponding color ranges

I want to display threshold values and thier color ranges as one of the legend in bottom of the bar chart

0-50 Red
51-90 Yellow
91-100 Green

Insted of the words Green,yellow,red I want a small color rectangular bar to represent the values .


~ the grafana team