# ColorPackedAsTwoFloats

> The color of each particle, packed in a special format to allow decoding on GPUs that do not support bit-packing operations.

## Definition

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

```csharp
ColorPackedAsTwoFloats = 47
```

### Remarks

To unpack the color, use the following code: `float4 color = float4(floor(colorPacked.x) / 255, frac(colorPacked.x) / 0.999, floor(colorPacked.y) / 255, frac(colorPacked.y) / 0.999);`.
