---
title: "moveToColor(with:completionHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclustercolorcontrol/movetocolor(with:completionhandler:)"
---

# moveToColor(with:completionHandler:)

## Declaration

```swift
func moveToColor(with params: MTRColorControlClusterMoveToColorParams, completionHandler: @escaping @Sendable ((any Error)?) -> Void)
```

```swift
func moveToColor(with params: MTRColorControlClusterMoveToColorParams) async throws
```
