Answer: The majority of halogens are coloured. Halogens absorb radiation in the visible spectrum, which explains this. Valence electrons are then excited to a higher energy area as a result. So every halogen exhibits a distinct colour because each halogen has a particular excitation energy threshold.
The 17th group of the p block’s elements is halogens. They have an ‘ns2np5’ electronic configuration.
The outermost shell of halogens contains electrons that are not coupled. The electrons are stimulated from the lower energy zone to the higher energy area, exhibiting the complementary colour to the colour absorbed when the light of the right wavelength strikes them.