DENVER — Marco Gonzales earned his first win in three months and Dylan Moore homered to lead the Seattle Mariners over the Colorado Rockies 6-4 on Tuesday.

Gonzales (2-5) had not won since beating Baltimore on April 15. He’d been 0-4 in eight starts since, also spending a month on the injured list with a strained left forearm.

“The objective was to give us a chance to win the game and that’s exactly what he did. He did his job,” Seattle manager Scott Servais said. “Nice to get Marco that win and really happy with the way he threw the ball.”

Gonzales was on the paternity list to be with his wife, Monica, who gave birth to the couple’s first child, daughter Grace, on June 28. Becoming a father helped change his view on his winless drought.

“I had a baby and that put life into perspective,” he said. “There’s a lot of bigger things than wins and losses. It’s hard to get disappointed when you come home to a newborn.”

Gonzales allowed two runs in five innings and posted the victory 65 miles from where he grew up in Fort Collins, Colo. He got the better of All-Star Germán Márquez, who lost at Coors Field for the first time since May 4.

Connor Joe put Colorado ahead 2-0 with his first major league homer, a two-run drive in the fifth. But the normally sharp Márquez couldn’t hold it in the sixth, allowing four runs in his first start since throwing one shutout inning in the All-Star Game on July 13.

“We were all fired up for Connor. He’s been swinging the bat really well in the minor leagues and he’s continued to stay hot,” bench coach/acting manager Mike Redmond said. “That’s the beauty of this game, guys get opportunities and take advantage of it. It was a huge lift for us, we just weren’t able to hold them down tonight.”

The Mariners started the inning with four consecutive hits, the last being Cal Raleigh’s two-run double that tied the game. Moore put them ahead with a two-out, two-run homer.

Márquez permitted four runs and seven hits in six innings. In his five previous starts combined, he had allowed three runs.

Ty France hit a two-run double in the seventh for a 6-2 lead. C.J. Cron brought the Colorado closer with his 14th homer, a two-run drive in the eighth.

Kendall Graveman worked around a walk in the ninth to pick up his ninth save.

TRAINER’S ROOM — Mariners first baseman Evan White will have surgery on his right hip to repair the labrum in the joint, Servais said. White will rehab at Seattle’s spring training site in Arizona. ... Left-hander Justus Sheffield (left forearm strain) has started to throw but not off a mound. ... Right-hander Justin Dunn (right shoulder inflammation) will start throwing off a mound in the next week, Servais said.

TWICE IS BETTER — Raleigh entered the game 0-for-12 but finally got his first career hit with a bloop single to center in the fourth inning. Raleigh, who made his major league debut July 11, kept it up with his two-run double in his next at-bat.

“I’d be lying if I told you it wasn’t on my mind, but I knew it was going to come,” Raleigh said of his first hit. “I had hit some balls hard and they didn’t find the hole. Luckily I got one to drop in there.”

The rookie catcher also threw out Garrett Hampson at second on a steal attempt in the first inning.

UP NEXT — The Rockies are expected to activate LHP Austin Gomber (6-5, 3.86) from the 10-day injured list today to make his first start since June 19. The Mariners have not announced a starter.

Seattle Colorado

ab r h bi ab r h bi

Crawford ss 5 0 1 0 Hampson cf 5 0 2 0

Haniger rf 4 0 1 0 Joe lf 5 1 2 2

Seager 3b 5 2 2 0 Story ss 4 0 1 0

France 1b 5 1 2 2 Blackmon rf 4 1 2 0

Raleigh c 3 1 2 2 Cron 1b 4 1 1 2

Kelenic cf 4 0 0 0 McMahn 2b 3 0 1 0

Moore 2b 4 1 1 2 Diaz c 4 0 2 0

Long Jr. lf 2 0 0 0 Fuentes 3b 2 1 0 0

Sewald p 0 0 0 0 Rodgers ph 1 0 0 0

Graveman p 0 0 0 0 Marquez p 1 0 0 0

Gonzales p 2 0 0 0 Kinley p 0 0 0 0

Chargois p 0 0 0 0 Bowden p 0 0 0 0

Torrens ph 1 1 1 0 Hilliard ph 1 0 0 0

Stcknrider p 0 0 0 0 Gilbreath p 0 0 0 0

Thomas ph 1 0 0 0 Estevez p 0 0 0 0

Tapia ph 0 0 0 0

Totals 36 6 10 6 Totals 34 4 11 4

Seattle 000 004 200 — 6

Colorado 000 020 020 — 4

DP—Seattle 1, Colorado 0. LOB—Seattle 7, Colorado 8. 2B—Seager (17), Raleigh (1), France (21), Hampson (18), Joe (3). 3B—Blackmon (3). HR—Moore (9), Joe (1), Cron (14). SB—Blackmon (2). S—Marquez (5).

IP H R ER BB SO

Seattle

Gonzales, W, 2-5 5 6 2 2 3 3

Chargois, H, 8 1 2 0 0 0 0

Steckenrider 1 1 0 0 0 2

Sewald 1 2 2 2 0 1

Graveman, S, 9-11 1 0 0 0 1 2

Colorado

Marquez, L, 8-7 6 7 4 4 2 5

Kinley 2/3 3 2 2 0 0

Bowden 1/3 0 0 0 0 0

Gilbreath 1 0 0 0 1 2

Estevez 1 0 0 0 1 2

Umpires—Home, Chris Conroy; First, Ben May; Second, Jeremie Rehak; Third, Pat Hoberg.

T—3:16. A—30,715 (50,445).