# help.peerColorOption

> Contains info about a color palette ».

[Back to constructors index](/API_docs/constructors/index.html)



Contains info about a [color palette »](https://core.telegram.org/api/colors).

### Attributes:

| Name     |    Type       | Required | Description |
|----------|---------------|----------|-------------|
|hidden|[Bool](/API_docs/types/Bool.html) | Optional|Whether this palette should not be displayed as an option to the user when choosing a palette to apply to profile pages or message accents.|
|color\_id|[int](/API_docs/types/int.html) | Yes|Palette ID.|
|colors|[help.PeerColorSet](/API_docs/constructors/help.PeerColorSet.html) | Optional|Light mode palette. <br>Will be empty for IDs `0` to `6` inclusive, in which case a palette containing a single color from the following colors should be used: red, orange, violet, green, cyan, blue, pink for indexes 0 to 6 (i.e. the same colors used for randomized fallback [message accent colors](https://core.telegram.org/api/colors)).|
|dark\_colors|[help.PeerColorSet](/API_docs/constructors/help.PeerColorSet.html) | Optional|Dark mode palette. Optional, defaults to the palette in `colors` (or the autogenerated palette for IDs `0` to `6`) if absent.|
|channel\_min\_level|[int](/API_docs/types/int.html) | Optional|Channels can use this palette only after reaching at least the [boost level](https://core.telegram.org/api/boost) specified in this field.|
|group\_min\_level|[int](/API_docs/types/int.html) | Optional|Supergroups can use this palette only after reaching at least the [boost level](https://core.telegram.org/api/boost) specified in this field.|



### Type: [help.PeerColorOption](/API_docs/types/help.PeerColorOption.html)


### Example:

```
$help_peerColorOption = ['_' => 'help.peerColorOption', 'hidden' => Bool, 'color_id' => int, 'colors' => help.PeerColorSet, 'dark_colors' => help.PeerColorSet, 'channel_min_level' => int, 'group_min_level' => int];
```
