How to do Custom Colour in Map Visual (geo Map)?

We are trying to use custom colour in map and there is no way to do it. now we are trying to do it using JS & CSS. can you help if there are any ways to do it.

Note: We created a custom colour in the map with the RAG status(Red,Amber,Green) and we have a column to specify the colour code like 1,2,3 . it is working as expected when we dont apply filters on the country name. But if we apply filter to specific country the colour changes dynamically to a different colour.

i have selected country Canada but its colour became Red but actually it should be Green as in the global Map. PFA both the screenshots.

if % is 100 the blue
% is >90 and <100 then yellow
likewise for every country in the map.