In this rule

Historical Rules · 1 May 2013

Rule 117.7a

Official source text from the 1 May 2013 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