SVG icons issues with color

Ive been having some issues with my svg icons - they were working perfectly fine and all of a sudden the colors switched around by itself! I dont know what to do… its fine when I upload it but on the page it looks all weird! Anyone ever had this issue before and has any advice!?

So strange!
Did you inspect and check the css?
I wonder if there could possibly be a default color?


Yes. I had that. When ? I realised the svgs gave classes to colors . different svgs were overriding each other css