# Drawstep engine · Effects · `becomeColor` > Become color — e.g. “target creature becomes colorless until end of turn”. Engine: Magic: The Gathering (`mtg`). This is one primitive of the Drawstep card vocabulary; field names and the discriminator are exact. Wiki page: https://drawstep.xyz/wiki/mtg/effects#becomeColor ## Where it goes One step of an ability's `effects[]` (a spell's, a trigger's, an activated ability's, a mode's): `{ "effect": "becomeColor", … }`. Steps resolve in order. Printed words that point here (search aliases): becomes blue red color. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `target` | `TargetDef` | yes | What it acts on (TargetDef) | | `colors` | `string[]` | yes | Colors as W / U / B / R / G codes | | `chosenColor` | `boolean \| string` | no | Use the earlier chosen color instead of colors (CR 105.3, 608.2d) | | `colorsOfChoice` | `boolean` | no | "The color or colors of your choice": one or more colors chosen as it resolves (CR 105.2, 608.2d); colors is then [] | | `replace` | `boolean` | no | Replace the existing types / colors instead of adding to them | | `duration` | `Duration` | no | CR 611.2a-b, 702.26f: continuous-effect duration. Conditional source/target filters are ANDed, identities and you are fixed on resolution, and failure ends the effect permanently. untilEndOfYourNextTurn lasts through your next turn's end step and expires at cleanup; whileYourTurn ends when another player becomes active and cannot start on an opponent's turn. untilYourNextEndStep / untilYourNextUpkeep end as that step begins; endOfCombat ends as the end-combat step ends (CR 511.2); endOfAdditionalCombat lasts through the additional combat phase created before it resolved, ending as that combat's end-combat step ends (CR 500.8, 506.1 — "that combat"). untilEvent ends when the described event happens. perpetual survives zone changes | ## Minimal form ```json {"effect":"becomeColor","target":{"of":"object","mode":"chosen","filter":{"types":["Creature"]}},"colors":[]} ``` The engine reads that minimal form as: “target creature becomes colorless until end of turn”. ## Stock examples - **Dwarven Song** — “One or more target creatures become red until end of turn.” ```json {"effect":"becomeColor","target":{"of":"object","mode":"chosen","filter":{"types":["Creature"]},"min":1,"max":"any"},"colors":["R"],"replace":true,"duration":"endOfTurn"} ``` - **Color Wash** — “Target creature becomes the color of your choice until end of turn.” ```json {"effect":"becomeColor","target":{"of":"object","mode":"chosen","filter":{"types":["Creature"]}},"colors":[],"chosenColor":true,"replace":true,"duration":"endOfTurn"} ``` - **The Master (fixture)** — “{T}: Put target creature card in a graveyard that was milled this turn onto the battlefield under your control. It's a green Mutant with base power and toughness 3/3.” ```json {"effect":"becomeColor","target":{"of":"object","mode":"affected"},"colors":["G"],"replace":true,"duration":"permanent"} ``` ## Related - [Effects](https://drawstep.xyz/wiki/mtg/effects.md) — the whole topic - [Filters & targets](https://drawstep.xyz/wiki/mtg/targets.md) — how `target` / `filter` select objects and players (selection algebra) - [Start here](https://drawstep.xyz/wiki/mtg/start.md) — the rules, the output contract and the index of every primitive