# Harvestable.getColor

Returns the color of the harvestable.

**Kind:** Function

**Environments:** Game

## Game

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

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

**Parameters:**

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

**Returns:**

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