fergiejoshboy460.jpg Break out the blue!

Josh Duhammel confirmed he and wife Fergie are expecting a baby boy on a pre-taped episode of Live! With Kelly and Michael, set to air Wednesday.

The co-hosts got the actor to spill the news by holding up separate pink and blue onsies, to which the Safe Haven star asked the audience, "What do you guys think, boy or girl?"

After some playful banter with the crowd, the dad-to-be grabbed the blue one and everyone cheered!

"I plan on taking [off] as much time as I can just before and as much time as possible after. I can't imagine having a kid and then not being able to be there. That would just drive me crazy. My head would be at home with mom and baby," he recently told ET Canada.

We wonder what they plan on naming their little guy?!