---
title: "stepColor(with:completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclustercolorcontrol/stepcolor(with:completion:)"
---

# stepColor(with:completion:)

## Declaration

```swift
func stepColor(with params: MTRColorControlClusterStepColorParams, completion: @escaping @Sendable ((any Error)?) -> Void)
```

```swift
func stepColor(with params: MTRColorControlClusterStepColorParams) async throws
```
