https://theunconditionalguru.in/2021/05/09/why-halogens-group-17-elements-are-coloured-or-give-coloured-compounds-chlorine-florine-bromine-iodine/
Halogens make coloured compounds.