Magic rules guide
Commander color identity vs. card color
Commander color identity includes relevant mana symbols in the card’s mana cost and rules text, together with its color indicator and color-defining abilities. A card can be colorless while still having a colored identity.
Check the whole card
For deckbuilding, look beyond the mana cost. Colored symbols in activated abilities can matter, as can information on another face. Reminder text is excluded when determining color identity.
Hybrid symbols still have colors
A hybrid symbol contributes its colors to identity even if you intend to pay for it using only one of them. The way you plan to pay does not rewrite the card’s identity.
Mana production and identity differ
Text saying “mana of any color” does not itself contain five colored mana symbols. A colorless rock can produce colored mana without having all five colors in its identity. Apply the separate Commander rules for lands with basic land types as well.
Worked example
Can a colorless artifact with a blue mana symbol in an activated ability go in a mono-green deck?
Its blue symbol normally makes blue part of its color identity, so it does not fit a commander identity containing only green.
Rules source
Reference: Comprehensive Rules 903.4, September 25, 2026 edition. Read the official rules text or check for a newer edition.