Solar panels do work on cloudy days, just not as effectively as they would on a sunny day. Expect them to produce 10-25% of their normal power output, depending on the thickness of cloud cover.