# `GSPalettes paletteAtIndex:`

*Instance Method*

Returns the palette at the specified index.

## Declaration

```swift
func palette(at paletteIdx: UInt) -> [AnyHashable : Any]
```

```objc
- (NSDictionary *) paletteAtIndex:(NSUInteger) paletteIdx;
```

```python
paletteAtIndex_(paletteIdx: int) -> dict
```

## Parameters

- `paletteIdx` — The index of the palette.

## Return Value

A dictionary representing the palette.

