Studio Yotsuba
Back to Node List

Palette Get

palette_get

Get a single color from a palette by index. Out-of-range indices are clamped to the first/last color.

Reviewed
Guide available

Input Ports

NameTypeDescription
Palette
palette
Palette
Required
The palette to pick a color from

Output Ports

NameTypeDescription
Color
color
Color
The color at the specified index

Parameters

NameTypeDefaultRangeDescription / Options
Index
index
Int
00–255

Color index (0-based). Clamped to palette range.

Overview

Extracts the Nth color from a palette. Referencing colors by palette index instead of specifying them directly lets a graph update all its colors together simply by replacing the palette.

Usage tips

  • Wire colors by index—for example, palette color 1 for outlines and color 2 for fills—so changes to palette_create or a shared palette propagate throughout the graph. This centralizes color management.
  • Drive the index with a waveform or integer input to cycle through palette colors, creating a simulated palette-cycle animation.
  • Use this when you need one color, not an operation that consumes the whole palette such as quantize or gradient_map.

Related nodes

  • palette_create / common_palette_ref — source palettes
  • color_rgb — supply a single color without a palette
  • palette_cycle — full palette cycling
  • int_input — control the index externally

Technical details

  • An out-of-range index is clamped to the first or last color.
  • An empty palette outputs the default color, black.
  • Promote the Index parameter to an input pin 📌 to control it dynamically from another node.

Examples

  • Select one specific color from the output of Palette Create.
  • Control the index with an Int node or animation node to retrieve palette colors in sequence.
Back to Node List