Apply colors for pre selected groups with plotly express bar chart?

Hi everyone !

I come to you because I meet a difficult to adapt colors of my bar chart to groups of my column.

I explain :

I have 3 groups : France, Brazil, China.

I want that for the France the bar is blue, for the Brazil yellow and for the China red. Is it possible to match color to country with plotly express bar ?

Knowing that the countries are not always in the same order.

I hope I am understandable, and I will find some answer to my question.

Thanks a lot to reading me and for the eventual answers that you can give to me !