# Shape.setColor

Sets the color of a shape. This is similar to coloring with the <em>Paint Tool</em>.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
shape:setColor( color )
```

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

**Availability:** Server only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `shape` | [Shape](../Game-Script-Environment/Userdata/Shape.md) | The shape. |
| `color` | [Color](../Game-Script-Environment/Userdata/Color.md) | The color. |
