ANAHEIM — The Ducks were swept in their season series against Colorado, despite the Avalanche playing their B team in the final meeting Sunday, a 4-2 win at Honda Center behind four unanswered goals in the third period.

Already resting bodies or cautiously treating injuries to both core and peripheral players — Nathan MacKinnon, Cale Makar, Devon Toews and a host of others that sat Saturday against the Kings were joined by Valeri Nichushkin on Sunday — the Avalanche’s roster had the feel of a split squad, albeit a highly competitive one.

With the loss, the Ducks can no longer finish above .500 this season.

It was the Ducks’ final home game of the season and on Fan Appreciation Night they treated the fans early but disappointed them late.

Mason McTavish and Sam Colangelo lit the lamp for the Ducks. Defenseman Ian Moore made his NHL debut after playing most of this season at Harvard and signing his entry-level contract this weekend, registering three shots on goal. Lukáš Dostál made 20 saves.

Charlie Coyle scored the game-winning goal and assisted on a power-play marker by Jack Drury as well as an empty-netter by Erik Johnson for Colorado. Wyatt Aamodt notched his first career goal. Scott Wedgewood stopped 18 shots.

The Ducks failed to cash in on an early third-period power play and then had to kill a penalty of their own. They did so thanks to Dostál, who made two point-blank saves in quick succession on Drury as part of a masterful display.

Colorado broke up Dostál’s potential shutout with 9:55 remaining and then tied the score with a power-play goal 4:29 later, when Drury exacted his revenge. Coyle completed the comeback with 2:09 to play before Johnson added an empty-netter in the dying embers.

Coyle gave Colorado numbers by joining a 2-on-2 rush, bursting down the right wing to receive the puck and snipe it past a sliding Dostál.

Drury had knotted the score by tipping Sam Malinski’s shot by Dostál.

Aamodt’s goal came off a giveaway and counterattack, with his centering pass banking off Ducks defenseman Pavel Mintyukov’s skate.

The Ducks entered the game having converted just three times in their past 44 extra-man attempts — to make matters worse, they gave up two shorthanded goals in that stretch — but extended their lead to 2-0 just one second after a Colorado penalty expired in the second stanza.

Coyle had barely shut the penalty box door when Alex Killorn pushed a pass from below the goal line into the inner part of the right circle for a one-timer by Colangelo. Of his nine goals this season, eight have come since March 4, with Colangelo having spent the majority of his campaign in the minors.

The first period enjoyed a brisk pace with some sound goaltending for the Ducks and some desperate defending from the Avs, keeping the period scoreless until just 68 seconds remained.

Then, the Ducks broke through after Troy Terry’s clearing attempt initially eluded McTavish, with some pressure by Nikita Nesterenko applying pressure to knock the puck loose. McTavish recovered it and weaved from down the right wing all the way to just above the left faceoff dot, where he labeled a laser for the top, far-side corner.

McTavish’s 22 goals, 29 assists and 51 points are all career highs, all despite stumbling out of the starting blocks. McTavish has 33 points in 36 games since Jan. 15, which would be a 75-point pace if it were sustained across a full season.