The teams play again here Friday (7 p.m. ET; FS-F, FS-TN, NHL.TV).
Huberdeau's five points set an NHL career high; he had four points eight previous times.
"I'm happy to get it out of the way, first one (hat trick), but it would have been just nice to get a win tonight," Huberdeau said. "I think we should have won that one, a tough one to lose. We're back at it tomorrow, but a tough one tonight."
Sergei Bobrovsky made 35 saves and failed to become the first Panthers goalie to win his first four starts in a season.
Aleksander Barkov had a goal and an assist for Florida. His goal was his 158th, moving him past Scott Mellanby into second place in Panthers history, behind Olli Jokinen (188).
Duchene's goals were his first of the season.
"I've been playing well and getting a ton of chances and haven't been able to get them to go, and this was probably the first time I really just didn't ever panic," Duchene said. "I got mad a couple times, but I never started changing my game. Hockey has a funny way of rewarding you, and you focus on the team first, and that was my mentality."
Goalie Juuse Saros was replaced after two periods after giving up five goals on 24 shots. Rinne made 12 saves.
"He never ceases to amaze you," Hynes said of Rinne. "He made some big saves. We were kind of pushing and pressing and chasing the game, and they had some quality chances. For him to come in and play the way he played, he held the fort for us. And it allowed us to be able to get up and get going and get moving. So I think that's the big reason why we found the way to win."
Huberdeau made it 1-0 1:28 into the game on a breakaway and 2-1 at 10:09 after Forsberg scored a power-play at 9:02.
Huberdeau's third goal gave Florida a 5-3 lead at 15:54 of the second period. He got a loose puck in the high slot and took a quick wrist shot.