Solar panels can still generate electricity in cloudy weather, although their efficiency may be reduced. However, even on cloudy days, solar panels can still contribute to the overall energy production.