Solar panels use any light and convert it to energy. On cloudy days there will be greatly reduced energy production, but there will still be solar generation.