All creatures that share a color are affected, even your own.

Artwork
Loading artwork…
Cleansing Beam
Commander Anthology · #78 · EN
Nonfoil—Foil—
Card rules
Radiance — Cleansing Beam deals 2 damage to target creature and each other creature that shares a color with it.
"Justice is toothless without punishment. Righteousness cannot succeed without the suffering of the guilty." —Razia, Boros archangel
Uncommon · Illustrated by Pat Lee
Format legality
Commander Legal
Duel Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Penny Legal
PreDH 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
Pioneer 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
If it targets a colorless creature, it doesn’t affect any other creatures. A colorless creature shares a color with nothing, not even other colorless creatures.
A creature “shares a color” with any creature that is at least one of its colors. For example, a green-white creature shares a color with creatures that are green, white, green-white, red-white, black-green, and so on.
You check which creatures share a color with the target when the spell resolves.
Only one creature is targeted. If that creature leaves the battlefield or otherwise becomes an illegal target, the entire spell doesn’t resolve. No other creatures are affected.