In this rule

Historical Rules · 26 September 2015

Rule 107.4a

Official source text from the 26 September 2015 Rules release

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