In this section

Historical Rules · 25 September 2014

Rule 903.9

Official source text from the 25 September 2014 Rules release

If mana would be added to a player’s mana pool of a color that isn’t in the color identity of that player’s commander, that amount of colorless mana is added to that player’s mana pool instead.

Find this number in the current Rules