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

# moveColor(with:completion:)

## Declaration

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

```swift
func moveColor(with params: MTRColorControlClusterMoveColorParams) async throws
```
