In this rule

Historical Rules · 24 September 2021

Rule 118.7b

Official source text from the 24 September 2021 Rules release

If a cost is reduced by an amount of colored or colorless mana, but the cost doesn’t require mana of that type, the cost is reduced by that amount of generic mana.

Find this number in the current Rules