In this rule

Historical Rules · 29 September 2017

Rule 117.7d

Official source text from the 29 September 2017 Rules release

Permalink

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

Find this number in the current Rules