Protection from a color provides four specific shields, remembered by the acronym DEBT: the protected permanent cannot be Damaged, Enchanted/Equipped/Fortified, Blocked, or Targeted by anything of that color (CR 702.16b). The 'E' in DEBT is the key here — an Aura of the protected color cannot legally enchant (be attached to) the protected creature.
This means that if you try to cast a colored Aura and choose a creature with protection from that color as the target, the Aura spell is illegal to target that creature in the first place (CR 115.4). Even if the Aura somehow ends up attached through another effect (e.g., a spell that moves Auras without targeting), the game's state-based actions will immediately cause the Aura to fall off because the attachment is illegal (CR 704.5n).
It is worth noting that colorless Auras, or Auras of a different color, are completely unaffected by this protection and can enchant the creature normally, unless some other rule prevents it.
Concrete example: You control a White Knight, which has protection from black. Your opponent tries to cast Unholy Strength (a black Aura) targeting White Knight. This is illegal — White Knight cannot be targeted by black spells (CR 702.16b), so your opponent must choose a different legal target or the spell cannot be cast that way. If no legal target exists, the spell cannot be cast at all.
Unofficial fan resource — not affiliated with or endorsed by Wizards of the Coast. Answers are AI-generated estimates grounded in the Comprehensive Rules and are not a substitute for an official judge. Verify anything match-critical.