---
title: dithersColor
framework: swiftui
role: symbol
role_heading: Instance Property
path: swiftui/shader/ditherscolor
---

# dithersColor

For shader functions that return color values, whether the returned color has dither noise added to it, or is simply rounded to the output bit-depth. For shaders generating smooth gradients, dithering is usually necessary to prevent visible banding in the result.

## Declaration

```swift
var dithersColor: Bool { get set }
```
