---
description: Windows > Color Palette
---

# Color window

![Color window](https://1676825895-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LT2-S1m8aSPAI_Gg3Q1%2F-MX2Zl554SlITOlLuI0e%2F-MX2cHzxhMrtYojNV9Rg%2FcolorWindow.png?alt=media\&token=c446bb04-774f-4b87-91c5-e4c0f5f0fdc2)

The **Color** window is a place to create and and manage two types of color palettes:&#x20;

#### **Library Palettes**

To add a swatch, drag the color swatch from the Color Widget above into the Library Palette.

To add swatch colors to Shapes:

* Drag a swatch directly onto a Shape in the [Viewport](viewport).
* Drag swatches from the palette onto the **Fill** or **Stroke Color** attribute in the [Attribute Editor](attribute-editor) on a Shape (Fill or Stroke tab).
* With a **Fill** or **Stroke Color** attribute selected on a Shape, click a swatch.

You can also manually create your own **Library Palettes** :point\_down:&#x20;

{% content-ref url="color-palette/palettes" %}
[palettes](color-palette/palettes)
{% endcontent-ref %}

**Options menu:**

* **New Palette...** - create a new palette.
* **Library** - select the library of palettes to load into the Library Palette drop down menu.
* **Import...** - import an existing palette.&#x20;
* **Save As...** - save a version of the palette.
* **Rename Palette...** - rename the palette.
* **Reveal in Finder/Explorer...** - reveal the palette within your file system.
* **Set Gradient from Palette** - set the color stops for a Gradient attribute selected in the [Attribute Editor](attribute-editor).
* **Create Array from Palette.** - create a [Color Array](../../../nodes/utilities/color-array) pre-populated with the colors in the palette.

{% hint style="info" %}
Cavalry supports importing [.pal](color-palette/palettes) and .ase (Adobe® Swatch Exchang&#x65;**)** filetypes.
{% endhint %}

#### **Scene Palettes**

Color swatches in the Scene Palette are nodes and therefore can be used to create shared connections between shapes. They are also saved with your scene.&#x20;

{% hint style="success" %}
A Scene Palette swatch is really useful when you have several Shapes that share the same color. Any change to the swatch will also update any connected Shapes meaning you only have to change it once.
{% endhint %}

Rollover a swatch and use the **Connector** (the connection anchor will appear on rollover) to create a [connection](../../../getting-started/key-concepts/connections) to any Element that has a **Color** attribute.

{% hint style="info" %}
Create a Scene Palette swatch by dragging a **Library Palette** swatch into the Scene Palette window.
{% endhint %}
