# How UI Color Palette on Sketch works

Sketch’s UI Color Palette stores color palettes on a Sketchs document. These palettes are strictly linked to the selected document.

## Local Master

The palettes stored on the selected page act as `Local Masters`. This setup provides real-time updates to the color scheme, ensuring any modifications are immediately reflected.

## Local Instance

Palettes can generate documents within a Figma document as `Local Instances`. This offers a quick view of the color shades and tints, complete with their properties. Note that these documents are shortcuts to the `Local Master` that can be updated. Changes must be manually replicated to the generated document on demand as they are not automatically updated.

## Remote Master

Palettes can be saved in the cloud for use across different Sketch documents and supported platforms like [Figma](https://www.figma.com/) and [Penpot](https://penpot.app/). A saved palette acts as the `Remote Master`. To update a saved palette, it must be added to the local selected page, and any changes must be published.

In summary, a saved palette is the `Remote Master`, a local palette is a `Local Master`, and a generated document is a `Local Instance`.

To learn more, see [Palette publication lifecycle](/sketch/introduction/palette-publication-lifecycle.md).


---

# 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.ui-color-palette.com/sketch/introduction/how-ui-color-palette-on-sketch-works.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.
