Solar panels only need the visible light spectrum, meaning that if there’s enough light to see, there’s sufficient light for panels to generate electricity. However, the stronger the light is, the more efficient solar panels become and produce more electricity.