# Palettes and strips

A palette is one small texture made of strips: flat colours and gradients. You colour a model by
putting its faces on strips, so the whole model uses one texture and one material.

## How a palette works

- **One texture.** The palette is a normal image in your .blend. Every model that uses it shows
  its colours through its UVs.
- **Strips.** Each strip is a flat colour or a gradient. A gradient strip is a shading ramp: put a
  part's faces along it and the part is shaded, from shadow to highlight.
- **Strip blocks.** A palette's strips live in a strip block, a grid you can reshape at any time.
  One texture can hold several blocks, and pictures too (see *Layers and pictures*).
- **Saved with your file.** Palettes are kept inside the .blend. Several palettes can live in one
  file, and different models can use different palettes.

## Create a palette

Palette Grid lives in the sidebar of the Image Editor and the UV Editor: press **N** and open the
**Palette Grid** tab. With no palette yet, it greets you with **New Palette**, **Import**, four
templates and three steps to get going.

**New Palette** shows a live preview of exactly the palette you will get, with its strip count,
grid and size. Choose:

- **Start from**: Blank, a template, or colours you copied.
- **Name**, **Size** and **Grid** (automatic, or your own columns and rows).
- **Strips** and **Direction** (which way the gradients run).
- **Colours**: **Varied** lays flat strips out like a swatch chart and makes each gradient a
  shading ramp of a real material; **Random** gives a random colour per strip (the 1.x
  generator); **Single** uses one colour. The shuffle under the preview rolls another set.
- **Advanced**: resolution and colour space.

A new palette starts at 512 px with Varied gradients.

![Creating a palette in 2.0: New Palette, Blank with Varied colours, a size, then a template](https://savedpixel.com/v3/docs/palettes/create-palette.mp4#16:10+player "New Palette: Blank or a template, a preview of exactly what you get, then Create Palette.")

## Put the palette on a material

A model shows its palette through a material. There are three ways to set it up:
**Assign Palette Material** in the Palette Grid panel's More (⋯) menu, **Palette Material** in the pie
menu (numpad **1**), or by hand in the Material tab.

![The three ways on a pine: Assign Palette Material from the panel's menu, Palette Material in the pie, then by hand in the Material tab](https://savedpixel.com/v3/docs/palettes/material.mp4#16:10+player "Three tiers from the panel's menu, the trunk from the pie, the top by hand: Base Color, Image Texture, the palette's image, Closest.")

### From Palette Grid or the pie


**Assign Palette Material** (in the panel's More (⋯) menu, or the pie's numpad **1**) gives the selected objects a material
showing the palette: an Image Texture into Base Color. Their UVs are kept, and the material is
reused for every model on the same palette.

- Pixels are crisp by default (Closest filtering), so strip edges stay sharp. **Smooth Gradients**
  blends between pixels instead, but softens strip edges.
- glTF exports keep the crisp sampling.
- **Smooth Material Filtering** smooths a palette with detail images, so pictures aren't blocky
  up close. Flat colours and gradients look the same either way, away from strip edges.

### By hand

In **Properties › Material**, click the dot next to **Base Color** and choose **Image Texture**,
pick the palette's image, and set its interpolation to **Closest** so strip edges stay sharp.

## The sidebar

- **Palettes** lists your palettes, each with a live miniature and its strip count. Click one to
  switch, double-click (or the pencil) to rename, right-click for its menu. Rename, Duplicate,
  Export and Delete sit under the list. Deleting asks first, then offers **Undo** for a few
  seconds.
- Below are three tabs: **Strips** (the strip list and the selected strip's card), **Layers**
  (strip blocks, pictures and paint, see *Layers and pictures*) and **Layout** (resolution, grid,
  direction, Keep UVs and colourways).

In **Preferences › Add-ons › Palette Grid › General**, **UI Scale** sizes the sidebar (and **Popup
Scale Factor** its colour popups), **Reduce Motion** turns off its animations, and **Show Quick
Guide** hides the three-step guide once you know your way. See [Preferences](https://savedpixel.com/docs/v2/preferences).

![Palette Grid's General preferences](https://savedpixel.com/v3/docs/preferences/general.webp#1294:725 "Preferences › Add-ons › Palette Grid › General, at its defaults.")

## Edit a strip

Select a strip in the list (or click it on the palette with the strip picker) and its card shows a
large preview with its colour stops.

- **Gradient stops, right on the card**: click the bar to add a stop with the colour at that
  point, drag a stop to move it, drag it down off the bar to remove it.
- **Edit Gradient** opens the full editor: colour modes RGB, HSV, HSL and **OKLab**, and the
  curves Linear, Ease, Cardinal, B-Spline and Constant. OKLab blends the way eyes see: even
  lightness, no grey dip between complementary colours, no hue drift.
- **Type** (Flat or Gradient), **Direction** (follow the block, vertical or horizontal) and
  **Size** sit in the card's **Layout** section.
- The colour editors remember your last 12 colours, between sessions.

The strip list has shortcuts while the pointer is over it: drag rows to reorder, **Alt+Up** /
**Alt+Down** to move, **Ctrl+D** to duplicate, **Delete** or **X** to remove, **F2** to rename.
Ctrl-click and Shift-click select several strips, **Ctrl+A** selects all. **Ctrl+C** and
**Ctrl+V** copy and paste the strip under the pointer (**Copy/Paste on Hover** in Preferences,
General, on by default).

![Editing a gradient's stops and colours, the palette updating live](https://savedpixel.com/v3/clips/edit.mp4#960:612 "Recorded in 1.4; works the same in 2.0.")

## Templates and the Strip Library

- **Templates**: Stylized Props, Retro 16, Foliage & Skin, Hue-Shift Ramps, Environment,
  Characters, Random Flat and Random Gradients. Every gradient in them runs from a cooler shadow to
  a warmer highlight, not from black to white. Open them from the empty sidebar, the panel menu or
  New Palette.
- **Strip Library**: ready-made gradient strips for wood, rock, foliage, skin, water, sand, ice,
  metal, gold, fire and sky, to add to any palette.

## Strip From Face

A 3D Viewport tool: click a face on a model and the strip it uses becomes the active strip. Handy
for recolouring a part, or for putting more faces on the same strip.

![Strip From Face on a pine: a tier, the trunk, then the top, each picking its strip](https://savedpixel.com/v3/docs/palettes/strip-from-face.mp4#16:10 "Click a face: its strip lights up on the palette and opens in the sidebar.")

## Colours in and out

- **Import Palette** reads Palette Grid's own files and swatches from other apps: Adobe .ase and
  .aco, GIMP, Krita and Inkscape .gpl, Lospec .hex, JASC and Windows .pal, Paint.NET .txt and
  Procreate .swatches. Import into a new palette or into this one. Colour groups (in .ase and
  Procreate files) can become gradient strips.
- **Paste Colours**: paste a Coolors link, a Lospec hex list or any #hex or rgb() codes, and get
  strips, with a preview first. Nothing is downloaded: it only reads the text.
- **Export** for other apps: .ase (Photoshop, Illustrator, Affinity, Krita), .gpl (GIMP, Krita,
  Inkscape, Aseprite), .hex (Lospec, Aseprite) and the texture as .png.
- **Send to Blender Palette** copies the colours into a Blender Palette, set for Texture Paint,
  Vertex Paint and Grease Pencil.

![Importing swatches as strips](https://savedpixel.com/v3/whatsnew/swatches.webp#16:10 "Swatches from other apps become strips.")

## Palette files

**Export Palette** saves a **.pgridpalette** file: one file that is both the palette and its
picture. It keeps everything: strip blocks, free layouts, image and paint layers, the layer order
and every colourway. Opening it gives back exactly the palette you saved.

- Inside, a .pgridpalette is a standard PNG of the palette. Renamed to .png, any image app opens
  it. For a game engine, use **Export Texture** instead (see *Export to engines*).
- On Windows, File Explorer shows each saved palette as a thumbnail with the Palette Grid icon in
  the corner. The preference **Show Palettes in File Explorer** turns this off.
- **Older Version (.json)** in the Export dialog saves the palette data without image or paint
  layers. A plain palette saved that way still opens in Palette Grid 1.x. Palette Grid 2.0 opens
  both.

Source: https://savedpixel.com/docs/v2/palettes
