---
title: "output::setColor"
framework: Compute Graph
role: symbol
role_heading: Function
platforms: [iOS 27.0+, iPadOS 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: computegraph/output/setcolor
---

# output::setColor

Sets the color of the rendered output.

## Declaration

```swift
void output::setColor(half4 color)
```

## Parameters

- `color`: The RGBA color value to apply, using half-precision components.

## Discussion

Discussion This function customizes the color applied to the rendered particle output, including the alpha channel. This affects only the rendered appearance and does not modify the particle itself. note:
