# `GSPalettes displayNameForPalette:`

*Instance Method*

Returns the display name for the specified palette index.

## Declaration

```swift
func displayName(forPalette paletteIdx: UInt) -> String
```

```objc
- (NSString *) displayNameForPalette:(NSUInteger) paletteIdx;
```

```python
displayNameForPalette_(paletteIdx: int) -> str
```

## Parameters

- `paletteIdx` — The index of the palette.

## Return Value

The display name of the palette.

