---
title: smoothsColors
framework: swiftui
role: symbol
role_heading: Instance Property
path: swiftui/meshgradient/smoothscolors
---

# smoothsColors

Whether cubic (smooth) interpolation should be used for the colors in the mesh (rather than only for the shape of the mesh).

## Declaration

```swift
var smoothsColors: Bool
```
