The colours represent different types of elements.
Some of these groups include: Yellow Boxes - metalloids.
Light Blue Boxes - nonmetals.
Dark Blue Symbols - Solids.
Magenta Symbols - Gases.
Bright Blue Symbols (Hg and Br) - Liquids.
Red Symbols - Radioactive Elements.