# `GSPalettes.countOfColors`

*Instance Property*

The number of colors.

## Declaration

```swift
var countOfColors: UInt { get }
```

```objc
@property (readonly) NSUInteger countOfColors;
```

```python
countOfColors() -> int
```

