Actor Josh Duhamel, husband of pregnant pop star Fergie, was on 'Live! With Kelly and Michael' today (July 17) and revealed the sex of their baby in a rather unorthodox way -- co-host Kelly Ripa held up blue and pink onesies, and Josh had to pick one.

Of course he made sure to tease the crowd a little first, but ultimately chose the blue onesie and brandished it with pride.

All while Michael Strahan bounced in excitement that Duhamel actually gave them an answer. Read: was in a state of shock that news was actually made on their show.

Fergie, who's currently in the process of legally changing her name to just that, has said that Josh has been nothing but supportive during her pregnancy.

"He sings and talks to my belly all the time. He's very complimentary. I'm very lucky that he's really good to me," she gushed to Us Weekly.

Added Duhamel of the transition to fatherhood, "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."

More From StarCrush