In this rule

Historical Rules · 8 July 2022

Rule 107.4a

Official source text from the 8 July 2022 Rules release

Permalink

There are five primary colored mana symbols: {W} is white, {U} blue, {B} black, {R} red, and {G} green. These symbols are used to represent colored mana, and also to represent colored mana in costs. Colored mana in costs can be paid only with the appropriate color of mana. See rule 202, “Mana Cost and Color.”

Find this number in the current Rules