# Color.__div

**Kind:** Operation

**Environments:** Game, Terrain

## Game

``` { .lua .api-signature }
Color / Color
```

``` { .lua .api-signature }
Color / number
```

[Open the full Game reference](../Game-Script-Environment/Userdata/Color.md#__div)

**Operations:**

| Operation | Returns | Description |
| --- | --- | --- |
| `Color / Color` | [Color](../Game-Script-Environment/Userdata/Color.md) | Returns the quotient of two colors, dividing each component. |
| `Color / number` | [Color](../Game-Script-Environment/Userdata/Color.md) | Returns the quotient of a color and a scalar. |

## Terrain

``` { .lua .api-signature }
Color / Color
```

``` { .lua .api-signature }
Color / number
```

[Open the full Terrain reference](../Terrain-Script-Environment/Userdata/Color.md#__div)

**Operations:**

| Operation | Returns | Description |
| --- | --- | --- |
| `Color / Color` | [Color](../Terrain-Script-Environment/Userdata/Color.md) | Returns the quotient of two colors, dividing each component. |
| `Color / number` | [Color](../Terrain-Script-Environment/Userdata/Color.md) | Returns the quotient of a color and a scalar. |
