# Harvestable.setColor

Sets the color of the harvestable.

**Kind:** Function

**Environments:** Game

## Game

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

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

**Availability:** Client only

**Parameters:**

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