Both activated abilities prevent all damage of the chosen color, not just combat damage.

Artwork
Loading artwork…
Avacyn, Guardian Angel
Magic 2015 · #3 · EN
Nonfoil—Foil—
Card rules
Flying, vigilance
1
: Prevent all damage that would be dealt to another target creature this turn by sources of the color of your choice.
5
: Prevent all damage that would be dealt to target player or planeswalker this turn by sources of the color of your choice.
5/4
Rare · Illustrated by Winona Nelson
Format legality
Commander Legal
Duel Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Penny Legal
Pioneer Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
Neither activated ability has any effect on damage that’s already been dealt.
Whether the target permanent or player is still a legal target is no longer checked after the appropriate ability resolves. For example, if a creature targeted by the first ability gains protection from white after the ability resolves but before it prevents damage, the effect will still prevent damage.
For each activated ability, you choose the color as the ability resolves. However, the color of a source that would deal damage to the permanent or player is checked only when it would deal that damage, not as Avacyn’s ability resolves. For example, if you choose blue, damage a blue creature would deal is prevented, even if that creature wasn’t blue (or wasn’t on the battlefield) when Avacyn’s ability resolved.
The possible color choices are white, blue, black, red, and green. You can’t choose artifact, colorless, or any other word.