# GetCurrentColor(ParticleSystem)

> Calculate the current color of the particle by applying the relevant curves to its startColor property.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.5/script-reference/unityengine.md)
* **Assembly:** UnityEngine.ParticleSystemModule

```csharp
public Color32 GetCurrentColor(ParticleSystem system)
```

### Parameters

**** (\[ParticleSystem]\(/engine/6000.5/script-reference/unityengine/particlesystem)): The Particle System from which this particle was emitted.

### Returns

| Type                                                              | Description    |
| ----------------------------------------------------------------- | -------------- |
| [Color32](/engine/6000.5/script-reference/unityengine/color32.md) | Current color. |
