In this section

Historical Rules · 1 May 2013

Rule 903.9

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