<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [server](./server.md) &gt; [ParticleEmitter](./server.particleemitter.md) &gt; [setColorEnd](./server.particleemitter.setcolorend.md)

## ParticleEmitter.setColorEnd() method

Sets the color of an emitted particle at the end of its lifetime.

**Signature:**

```typescript
setColorEnd(colorEnd: RgbColor): void;
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

colorEnd


</td><td>

[RgbColor](./server.rgbcolor.md)


</td><td>

The color of an emitted particle at the end of its lifetime.


</td></tr>
</tbody></table>
**Returns:**

void

