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

# readAttributeColorMode(completion:)

## Declaration

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

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