# Drawstep engine · Costs · `xManaColor` > X mana color — CR 107.3: "Spend only black mana on X" — each {X} in `mana` is paid with mana of this colour. 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/costs#xManaColor ## Where it goes One part of a `cost` object (an activated ability's cost, `mayPay`, `unlessPays`, an `additionalCost`): `{ "xManaColor": … }`; parts combine freely. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `xManaColor` | `"W" \| "U" \| "B" \| "R" \| "G"` | no | CR 107.3: "Spend only black mana on X" — each {X} in `mana` is paid with mana of this colour | ## Related - [Costs](https://drawstep.xyz/wiki/mtg/costs.md) — the whole topic - [Start here](https://drawstep.xyz/wiki/mtg/start.md) — the rules, the output contract and the index of every primitive