Chart bar specific color for set value

I want create a bar chart and the color of the bar is set to RAG status color. The bar either has a value 0,1,2,3 ie: If the value is 1 then it must be red, 2 is amber and 3 is green. Any suggestion on how to achieve this?