DENVER (AP) Corey Dickerson hit one of Colorado's three solo homers in the fourth inning and the Rockies beat the Dodgers 7-4 on Friday night, preventing Los Angeles from moving a step closer to clinching its third straight NL West title.

The magic number for Los Angeles remained at three.

Charlie Blackmon, Carlos Gonzalez and Dickerson hit homers off Mike Bolsinger (6-5). Dickerson finished a triple shy of the cycle, striking out in his final at-bat. He drove in three runs.

More from FoxSports

David Hale (5-5) allowed five hits and one run over five innings in his first start since Aug. 23. He stepped in for Yohan Flande, who's sidelined with a bruised knee.

John Axford pitched a perfect ninth for his 25th save as Colorado snapped a five-game skid.

Bolsinger allowed seven runs - four earned - and walked three in four innings. He wasn't helped out by his defense, either, with first baseman Adrian Gonzalez committing a key error in the third. The Rockies scored three times that inning to make it 4-1.

It didn't get any better for Bolsinger in the fourth. Blackmon hit a fastball over the fence in right and Carlos Gonzalez soon followed with a shot to center for his 38th homer of the season. Dickerson later hit one to almost the same spot as Gonzalez.

Howie Kendrick had a two-run single in the seventh to cut the deficit to 7-4. With two on and two outs, Carl Crawford grounded out to end the inning.

The Rockies moved to 34-45 at Coors Field this season. They're trying to avoid their worst home mark (35-46 in 2012) with two games remaining at the hitter-friendly park.

NO WEIGHTY CONCERN

Manager Don Mattingly and ace Clayton Kershaw were fine after their public spat in the dugout when the manager pulled the left-hander from Thursday's game.

The two had a conversation in the weight room.

''I said, `I need that 25 (pound weight), you still using that 25?''' Mattingly joked. ''He's like, `No, go ahead.' I was good with that.''

TRAINER'S ROOM

Dodgers: INF Corey Seager was given the day off with what Mattingly described as heavy legs. ''I didn't want to take any chances with him,'' Mattingly said. ... OF Kike Hernandez went through a heavy workout to test his hamstring. If he comes out of that feeling fit, ''we're going to see him pretty soon,'' Mattingly said.

Rockies: OF Brandon Barnes (hamstring) remains sore and Weiss said it's going to be difficult for him to make it back this season. ... Blackmon returned to the lineup after missing two games with neck stiffness.

UP NEXT

Dodgers: LHP Brett Anderson (9-9, 3.52) faces his former team for the second time in 11 days.

Rockies: RHP Kyle Kendrick (6-13, 6.37) has a 7.35 ERA at Coors Field this season.