---
title: color
framework: Compute Graph
role: symbol
role_heading: Instance Property
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: computegraph/elementspawnparameters/color
---

# color

The initial color and alpha (transparency) of the particle.

## Declaration

```swift
var color: SIMD4<Float> { get set }
```

## Discussion

Discussion Uses RGBA format where each component ranges from 0.0 to 1.0: x (red): Red color component y (green): Green color component z (blue): Blue color component w (alpha): Transparency (0.0 = fully transparent, 1.0 = fully opaque)
