Final answer:
Barium, found in group 2 (alkaline earth metals), period 6, s-block of the periodic table, has the electron configuration [Xe] 6s2 and produces a green color in fireworks.
Step-by-step explanation:
Barium, which imparts a green color to fireworks, has the electron configuration [Xe] 6s2. In the periodic table, barium is located in group 2, known as the alkaline earth metals, in period 6, and belongs to the s-block.
Alkaline earth elements like barium are known to be reactive, though less so than alkali metals, and exhibit a +2 oxidation state in compounds.