---
title: "readAttributeColorMode(completionHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclustercolorcontrol/readattributecolormode(completionhandler:)"
---

# readAttributeColorMode(completionHandler:)

## Declaration

```swift
func readAttributeColorMode(completionHandler: @escaping @Sendable (NSNumber?, (any Error)?) -> Void)
```

```swift
func readAttributeColorMode() async throws -> NSNumber
```
