In this rule

Historical Rules · 18 February 2022

Rule 118.7c

Official source text from the 18 February 2022 Rules release

Permalink

If a cost is reduced by an amount of colored mana that exceeds its mana component of that color, the cost’s mana component of that color is reduced to nothing and the cost’s generic mana component is reduced by the difference.

Find this number in the current Rules