In this section

Historical Rules · 17 July 2015

Rule 903.9

Official source text from the 17 July 2015 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