# The basics

### What do we have here?

<figure><img src="https://1813203282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOddm4yDredA8gF0g7cDm%2Fuploads%2FrDnKSyXUWOWpgpTlWwfk%2FPalette.png?alt=media&#x26;token=775addc5-f1d2-4ed6-8e60-988cc67c9199" alt="" width="317"><figcaption></figcaption></figure>

1. Load built-in palettes or saved palettes
2. Save the current palette
3. More button
4. Edit button. We got here by tapping on the selected color one more time
5. Add the current color to the palette

Pixquare palettes can have up to 255 colors for indexed mode and unlimited colors for RGBA mode

### Reorder colors

We can reorder colors within the palette by long-pressing on a color and then dragging it to the new position.

{% hint style="info" %}
When we reorder colors in [indexed mode](https://docs.pixquare.art/misc/color-modes#indexed), we'll have the option to remap the canvas indices to keep the colors the same on the canvas
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.pixquare.art/palette/the-basics.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
