Historical Rules · 4 February 2011
Rule 903.9
Official source text from the 4 February 2011 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.