Ryan McMahon homered twice and had five RBIs in his return to the lineup and Kyle Freeland pitched six scoreless innings as the Colorado Rockies beat the Philadelphia Phillies 6-2 Thursday night.

McMahon had the first multi-homer game of his career and helped the Rockies snap a five-game home losing streak. Colorado has won four in a row overall after dropping eight straight.

J.T. Realmuto homered and Cesar Hernandez had three hits for Philadelphia.

Colorado Rockies' Ryan McMahon watches his three-run home run off Philadelphia Phillies starting pitcher Zach Eflin during the sixth inning of a baseball game Thursday, April 18, 2019, in Denver. (AP Photo/Jack Dempsey)
Colorado Rockies’ Ryan McMahon watches his three-run home run off Philadelphia Phillies starting pitcher Zach Eflin during the sixth inning of a baseball game Thursday, April 18, 2019, in Denver. (AP Photo/Jack Dempsey)

McMahon had been out of the lineup since suffering a strained left elbow against the Los Angeles Dodgers on April 5. He missed 10 games, but came back strong to help Freeland get his eighth win in his last nine decisions at Coors Field.

Freeland (2-3), who left Saturday’s start in San Francisco with a blister issue, allowed just two hits and didn’t walk a batter. He was headed for a no-decision when McMahon hit a three-run homer off Philadelphia starter Zach Eflin (2-2) in the bottom of the sixth to give the Rockies a 3-0 lead.

Realmuto cut the lead to 3-2 in the top of the seventh with his third home run of the season, but McMahon’s 416-foot blast into the Rockies bullpen in the bottom of the inning made it 6-2.

Philadelphia Phillies' Bryce Harper warms up in the on-deck circle during the first inning of the team's baseball game against the Colorado Rockies on Thursday, April 18, 2019, in Denver. (AP Photo/Jack Dempsey)
Philadelphia Phillies’ Bryce Harper warms up in the on-deck circle during the first inning of the team’s baseball game against the Colorado Rockies on Thursday, April 18, 2019, in Denver. (AP Photo/Jack Dempsey)

Tony Wolters had three hits and Nolan Arenado two for the Rockies.

TRAINER’S ROOM

Phillies: OF Odubel Herrera (right hamstring strain) was placed on the 10-day injured list before the game and OF Roman Quinn was activated. Herrera left Wednesday’s game in the fifth inning after pulling up while chasing a fly ball against the New York Mets. … SS Jean Segura tested out his strained left hamstring before the game, but was not in the lineup.

Philadelphia Phillies' J.T. Realmuto rounds the bases after hitting a two-run home run against the Colorado Rockies during the sixth inning of a baseball game Thursday, April 18, 2019, in Denver. (AP Photo/Jack Dempsey)
Philadelphia Phillies’ J.T. Realmuto rounds the bases after hitting a two-run home run against the Colorado Rockies during the sixth inning of a baseball game Thursday, April 18, 2019, in Denver. (AP Photo/Jack Dempsey)

Rockies: OF David Dahl was activated from the 10-day injured list and was in the lineup Thursday. Dahl, who had been out since April 8 with a left core injury, doubled and scored a run. Colorado optioned OF Yonathan Daza and INF Josh Fuentes to Triple-A Albuquerque. … OF Ian Desmond (general leg soreness) was not in the starting lineup, but pinch-hit in the eighth inning. … An MRI confirmed C Chris Iannetta had a strained right lat. He was placed on the 10-day IL on Monday.

UP NEXT

Phillies: RHP Vince Velasquez (0-0, 2.25) is scheduled to make his third start and fourth appearance of the season.

Colorado Rockies David Dahl (26) dives safely back to third as Philadelphia Phillies third baseman Maikel Franco (7) tries to make the tag during the seventh inning of a baseball game Thursday, April 18, 2019, in Denver. (AP Photo/Jack Dempsey)
Colorado Rockies David Dahl (26) dives safely back to third as Philadelphia Phillies third baseman Maikel Franco (7) tries to make the tag during the seventh inning of a baseball game Thursday, April 18, 2019, in Denver. (AP Photo/Jack Dempsey)

Rockies: RHP German Marquez (2-1, 2.00) threw a one-hitter for his first career shutout in San Francisco on Sunday.

___

Colorado Rockies' Ryan McMahon rounds the bases after hitting a two-run home run against the Philadelphia Phillies during the seventh inning of a baseball game Thursday, April 18, 2019, in Denver. (AP Photo/Jack Dempsey)
Colorado Rockies’ Ryan McMahon rounds the bases after hitting a two-run home run against the Philadelphia Phillies during the seventh inning of a baseball game Thursday, April 18, 2019, in Denver. (AP Photo/Jack Dempsey)
Colorado Rockies' Ryan McMahon (24) hugs Nolan Arenado (28) after the team's 6-2 win against the Philadelphia Phillies in a baseball game Thursday, April 18, 2019, in Denver. (AP Photo/Jack Dempsey)
Colorado Rockies’ Ryan McMahon (24) hugs Nolan Arenado (28) after the team’s 6-2 win against the Philadelphia Phillies in a baseball game Thursday, April 18, 2019, in Denver. (AP Photo/Jack Dempsey)
Philadelphia Phillies' J.T. Realmuto is congratulated by teammates in the dugout after hitting a two-run home run against the Colorado Rockies during the sixth inning of a baseball game Thursday, April 18, 2019, in Denver. (AP Photo/Jack Dempsey)
Philadelphia Phillies’ J.T. Realmuto is congratulated by teammates in the dugout after hitting a two-run home run against the Colorado Rockies during the sixth inning of a baseball game Thursday, April 18, 2019, in Denver. (AP Photo/Jack Dempsey)
Philadelphia Phillies starting pitcher Zach Eflin hangs his head after giving up a three-run home run to Colorado Rockies' Ryan McMahon during the sixth inning of a baseball game Thursday, April 18, 2019, in Denver. (AP Photo/Jack Dempsey)
Philadelphia Phillies starting pitcher Zach Eflin hangs his head after giving up a three-run home run to Colorado Rockies’ Ryan McMahon during the sixth inning of a baseball game Thursday, April 18, 2019, in Denver. (AP Photo/Jack Dempsey)
Colorado Rockies' Ryan McMahon (24) is congratulated at the plate by Trevor Story (27), Raimel Tapia and Nolan Arenado (28) after hitting a three-run home run off Philadelphia Phillies starting pitcher Zach Eflin during the sixth inning of a baseball game Thursday, April 18, 2019, in Denver. (AP Photo/Jack Dempsey)
Colorado Rockies’ Ryan McMahon (24) is congratulated at the plate by Trevor Story (27), Raimel Tapia and Nolan Arenado (28) after hitting a three-run home run off Philadelphia Phillies starting pitcher Zach Eflin during the sixth inning of a baseball game Thursday, April 18, 2019, in Denver. (AP Photo/Jack Dempsey)
Philadelphia Phillies second baseman Scott Kingery throws to first after forcing out Colorado Rockies' Charlie Blackmon (19) during the third inning of a baseball game Thursday, April 18, 2019, in Denver. (AP Photo/Jack Dempsey)
Philadelphia Phillies second baseman Scott Kingery throws to first after forcing out Colorado Rockies’ Charlie Blackmon (19) during the third inning of a baseball game Thursday, April 18, 2019, in Denver. (AP Photo/Jack Dempsey)