Historical Rules · 1 May 2014
Rule 903.9
Official source text from the 1 May 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.