Green color in units instead of red or blue

my units and strucures color are green instead of red or blue.
It suddenly changed from red to green in middle of game, and now it keeps green all 1x1 ranked and unranked games

Check the options for color blind mode, maybe you accidentally turned it on.
Otherwise, it could be the team colors (more likely if the change happened mid-game and you didn’t go into the menus, as there’s a keyboard shortcut to toggle this one).

There’s a set of buttons along the bottom left side (where the minimap is located). Mess with those until you return to your desired settings