Freckle is mainly formed by exposure to Sunlight more specifically UVB components of it (Apart from visible light, sun-light has different types of ultraviolet lights like UVA , UVB etc)