If seeing gray skies and rain gets you down, just remember that the sun will come out - eventually.

It was raining in Boston early Thursday morning, but the showers are expected to taper off by mid-morning and the sun should be out by the afternoon, according to the National Weather Service.

Forecasters also warned motorists to be on the lookout for dense fog Thursday morning, which could reduce visibility to less than one-quarter of a mile.

Forecasters said the fog should lift by around sunrise, and then the skies should start to clear up and temperatures will reach the upper 60s.


“The last of the steady rain will be exiting eastern [Massachusetts] by mid morning and skies will become partly sunny by afternoon,” forecasters tweeted. “This should allow for a nice afternoon with high temperatures well up into the 60s.”

Forecasters said Thursday night should be mostly clear, with a low around 46.

But showers are expected to return to the area Friday afternoon, mainly after 3 p.m., and temperatures will be cooler, with a high near 62.

Friday night will bring rain and thunderstorms before midnight, and be on the lookout for patchy fog, the weather service said.

Saturday will be mostly sunny with a high near 70, and Sunday will be mostly sunny but cooler, with a high near 62, and a chance of showers before noon, forecasters said.

Emily Sweeney can be reached at esweeney@globe.com. Follow her on Twitter @emilysweeney.