Why elements in periodic table have different color?