# image.XORDrawingMode()

Sets the paint mode of the image to alternate between the image's current color and the new specified color.

```
image.XORDrawingMode( color=string )
```

**Returns:** image

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| color | string | Yes | The color (The default value is "black"): - Hexadecimal value of RGB color. For example, specify the color white as ##FFFFFF or FFFFFF. - String value of color (for example, "black", "red", "green"). - List of three numbers for (R,G,B) values. Each value must be in the range 0-255. *Alias: colour* |  |

# Examples

*There are currently no examples for this function*

# Categories

[Image manipulation](../../../categories/image.md)

# See Also

[ImageXORDrawingMode()](../../functions/imagexordrawingmode.md), [Image](../image.md)