In this rule

Historical Rules · 27 April 2018

Rule 117.7b

Official source text from the 27 April 2018 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