# Shape.getColor

Returns the color of a shape.

**Kind:** Function

**Environments:** Game

## Game

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

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

**Parameters:**

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

**Returns:**

| Type | Description |
| --- | --- |
| [Color](../Game-Script-Environment/Userdata/Color.md) | The shape's color. |
