In this rule

Historical Rules · 16 July 2010

Rule 117.7a

Official source text from the 16 July 2010 Rules release

If a cost is reduced by an amount of colored mana, but its colored mana component doesn't contain mana of that color, the cost is reduced by that amount of generic mana.

Find this number in the current Rules