Fergie is expecting little boy.

The 38-year-old's husband, Josh Duhamel spilled the beans on the baby's gender for the first time on a pre-taped episode of Live! with Kelly and Michael airing on Wednesday. The reveal occurred when hosts Kelly Ripa and Michael Strahan held up pink and blue onesies in front of the actor.

"What do you guys think, boy or girl?" the Safe Haven actor said to the audience.

After a pause and a quick audience poll, the crowd cheered as Duhamel grabbed the blue outfit.

Duhamel, who wed Fergie in 2009, previously said he doesn't care what the sex of the baby is as long as it's "happy, healthy, holy."

Fergie and Josh announced back in February that they are expecting their first child.

The singer revealed the pregnancy news via Twitter: "Josh & Me & BABY makes three!!! #mylovelybabybump," the singer captioned a photo of herself and Duhamel as little children.

In March at Duhamel's launch party for his Moves magazine cover in New York, he described his new fatherhood as "incredible."

Duhamel recently told ET Canada that they couple feels "ready" for parenthood. "I actually look forward to that."

"I plan on taking [off] as much time as I can just before and as much time as possible after," added the star. "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."

Fergie, who's reportedly planning on changing her legal last name from Stacey Ferguson to Fergie Duhamel gushed about husband, saying that he's been "so nice and wonderful" throughoyt 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," Fergie said.