The spell checks on resolution to see if any mana of the stated colors was spent to pay its cost. If so, it doesn't matter how much mana of that color was spent.

Artwork
Loading artwork…
Invert the Skies
Eventide · #155 · EN
Nonfoil—Foil—
Card rules
Creatures your opponents control lose flying until end of turn if
was spent to cast this spell, and creatures you control gain flying until end of turn if
was spent to cast this spell. (Do both if 
was spent.)
Uncommon · Illustrated by Randy Gallegos
Format legality
Commander Legal
Duel Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Penny Legal
PreDH Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Pioneer Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
If the spell is copied, the copy will never have had mana of the stated color paid for it, no matter what colors were spent on the original spell.
The spell cares about what mana was spent to pay its total cost, not just what mana was spent to pay the hybrid part of its cost.
Invert the Skies affects only creatures on the battlefield at the time it resolves. If a creature enters later that turn, it won't be affected.
If a creature changes controllers later in the turn, that won't change how Invert the Skies affected it.