PHOENIX (AP) David Peralta jabbed a couple steps to get his timing right, then raced toward home.
The pitch was low, the throw back to the mound high and Peralta was safe with Arizona's first steal of home in seven years.
''It was the perfect storm,'' Arizona manager Kirk Gibson said.
Peralta's dash helped the Diamondbacks bounce back from a three-game sweep by Kansas City with a 5-3 victory over the listless Colorado Rockies on Friday night.
Miguel Montero provided the early highlight for Arizona, hitting a three-run homer off Tyler Matzek (2-7) in the first inning.
Not much else happened between the NL West's two worst teams after that.
Matzek adeptly worked around baserunners after Montero's homer and Arizona's Chase Anderson (7-4) fought through a high pitch count for five effective innings.
Peralta provided some life in the seventh inning.
The rookie doubled in the first inning and notched his 24th multi-hit game since June 1 with a run-scoring triple off Rex Brothers in the seventh to put the Diamondbacks up 4-1.
Arizona's coaches had noticed Colorado catcher Michael McKenry had a tendency to lob the ball back to the pitcher and Peralta, with some encouragement from teammate Cliff Pennington, took advantage for Arizona's first steal of home since Chris Young did it in 2007.
The run proved to be a big one.
Colorado's Corey Dickerson and DJ LeMahieu had run-scoring singles in the ninth inning before Addison Reed struck out Charlie Blackmon to end the game.
Colorado has lost 10 of 12.
''I gave a quick glance and didn't really see much, and threw it right back and didn't think twice about it,'' McKenry said. ''It was on me, it was my fault. I feel awful about it.''
After a rough patch of the season, Anderson has rounded back into form.
The rookie right-hander lost four straight following a five-win start to his career before stringing together four quality outings since July 7.
Anderson was sharp against the Rockies, making one mistake: the towering homer by McKenry.
Anderson allowed three other hits and struck out six. He has allowed two earned runs or less in 11 of 14 starts and has a 1.74 ERA over his last five.
''It's nice because you can kind of settle in, throw fastballs a little bit more early in the count,'' Anderson said of having an early lead. ''You can let them swing a little bit.''
Matzek has struggled on the road this season, entering Friday's game 0-3 with a 6.11 ERA in six games, including five starts.
Matzek allowed three runs, four hits and walked five in five innings.
''I walked a few people but overall I felt pretty good,'' Matzek said.
Taking a cue from Cincinnati Reds fans, Arizona's fans started flashing the lights from their phones all around the ballpark in the ninth inning. Reds fans flashed their phones during an extra-inning game last month and Diamondbacks fans did it once before during the current homestand.
Rockies: Left-hander Brett Anderson underwent an MRI on Friday to determine if he has a disk problem in his back. He left Tuesday's game against the Chicago Cubs in the fourth inning due to back spasms.
Diamondbacks: Outfielder A.J. Pollock, out with a broken right hand, is 2 for 18 with a double and a run scored in five rehab games with Triple-A Reno and Arizona's rookie league team.
Rockies: Left-hander Jorge De La Rosa, Saturday's starter, has 24 strikeouts with two walks over his last three starts.
Diamondbacks: Right-hander Trevor Cahill has had two straight quality starts heading into Saturday's game against the Rockies, allowing four earned runs in 13 innings. He allowed a run in seven innings against Pittsburgh in his last start, but did not factor in the decision.