Arenado hit a go-ahead, three-run homer and Dickerson followed with his second long ball of the game to lead the Rockies past the San Francisco Giants 9-2 on Wednesday.

“It’s nice to know that we’ve got some young guys here than can make an impact,” Arenado said. “Obviously, the experience level, we don’t have it like Tulo and CarGo, but the chemistry is good with young guys. They want to play hard and they want to win.”

Dickerson said getting the chance to play now and producing will help the Rockies down the road.

“Those guys that are hurt, they’re All-Stars and they’re going to be All-Stars every year,” Dickerson said. “For us to be able to produce at this level right now is good for us because that gives us that much more confidence going into next year.”

Another young player, Christian Bergman (2-2), pitched six sharp innings and limited the Giants to two runs on nine hits while helping the Rockies take the season series 10-9. It is the first time Colorado has won the season series with its NL West rival since going 11-7 against the Giants in 2008.

Ryan Vogelsong (8-10) was roughed up for a career-high four home runs among 10 hits allowed in five-plus innings. He gave up eight runs, matching a career high, in another tough outing at Coors Field. Vogelsong gave up three homers and five runs in 1 1-3 innings during his last appearance at Colorado on April 21.

“I’ve seen plenty of games here to know the ball flies, especially during the day,” Vogelsong said. “And every kind of bloop shot falls in, because the guys got to play so deep. Their infield grass is really quick, too, so it seems like a lot of groundballs get through that in most places don’t. You combine that all together and it can make for a long day.”

Buster Posey drove in both San Francisco runs with a sacrifice fly and an RBI single.

With Colorado up 5-2, Michael McKenry started a four-run sixth by connecting on a 3-2 offering from Vogelsong for his sixth home run of the season. D.J. LeMahieu and pinch-hitter Kyle Parker hit successive singles, and Juan Gutierrez relieved Vogelsong. One out later, Josh Rutledge tripled both runners home.

Vogelsong was trying to protect a 2-1 lead in the fifth when he issued a two-out walk to Rutledge. Justin Morneau singled and Arenado connected for his 15th home run with a drive into the left-field bleachers.

Dickerson, who led off the second with a shot into the second deck above the Rockies bullpen for his first homer, followed by driving Vogelsong’s first pitch over the left-field fence for his 22nd of the season and second career multihomer game. It was the third time this season Rockies batters have gone back-to-back, and the first since Troy Tulowitzki and Dickerson did it May 10 at Cincinnati.