Studio Yotsuba
Back to Node List

Palette Adjust HSV

palette_adjust_hsv

Adjust selected palette slots in HSV space while keeping other slots unchanged.

Reviewed
Guide available

Input Ports

NameTypeDescription
Palette
palette
Palette
Required
Palette to adjust.
Index
index
Int
Optional dynamic single palette index.
Index List
index_list
List<Int>
Optional dynamic list of palette indices.

Output Ports

NameTypeDescription
Palette
palette
Palette
Adjusted palette.

Parameters

NameTypeDefaultRangeDescription / Options
Selection Mode
selection_mode
Enum
Auto—

How palette indices are selected.

  • autoAuto
    Use Index List input when connected, then Index input, otherwise the text selector. A connected input that contains no valid index selects nothing instead of falling back to text.
  • textText
    Use the text selector only. Examples: `all`, `0`, `2,4,6`, `3-7`.
  • indexIndex
    Use the Index input only. Example: connect an Int that changes 0 -> 1 -> 2 to adjust one palette color at a time.
  • listList
    Use the Index List input only. Example: connect List<Int> [0,2,4] or [3,4,5,6] to adjust multiple colors.
Indices
indices
Text
all—

Palette indices to adjust. Examples: `all`, `0`, `2,4,6`, `3-7`.

Hue +/-
hue_delta
Float
0-360–360 / step 1

Rotates HSV hue in degrees.

Saturation +/-
saturation_delta
Float
0-1–1 / step 0.01

Adds to HSV saturation.

Value +/-
value_delta
Float
0-1–1 / step 0.01

Adds to HSV value/brightness.

Alpha +/-
alpha_delta
Float
0-100–100 / step 1

Adds to alpha in percentage points.

Adjusts only selected palette indices together in HSV space.

Use it to rotate the hue of selected colors for variants, increase saturation only in one gradient ramp, or animate the hue of specific colors through an input.

Overview

Adjusts selected palette slots together in HSV space. A partial recolor such as “rotate only indices 3–7, the hair gradient” takes one node. It is a primary tool for batch-producing character and equipment color variants.

Usage tips

  • The go-to pattern for color variants is to rotate hue by ±120 degrees on an indexed image, then use indexed_image_apply_palette. Red, green, and blue versions are available immediately.
  • A range selection replaces repeated palette_get + color_adjust_hsv + palette_set chains when the slots are consecutive.
  • Both adjustment values and target indices can be promoted to input pins, allowing time-driven color changes.

Related nodes

  • palette_adjust_oklch — counterpart for natural lightness adjustments
  • indexed_image_apply_palette — applies the adjusted result
  • color_adjust_hsv — single-color version
  • variant_range / batch_render — batch-produce different hue values

Index syntax

Syntax Meaning
all Adjust every color
0 Adjust only index 0
2,4,6 Adjust indices 2, 4, and 6
3-7 Adjust indices 3 through 7

Out-of-range entries in the text selector or Index List are ignored. In Auto or Index Input mode, an out-of-range connected Index does not silently fall back to text such as all: it leaves the palette unchanged and shows a warning near the selection setting.

Index selection modes

Mode Description
Auto Uses the Index List input when connected, otherwise the Index input, and finally the Index Spec text. If a connected input contains no valid index, nothing is adjusted.
Text Uses only the Index Spec text; best for entering all or 3-7 manually
Index Input Uses only the Int Index input; best for moving the target through one color at a time with time or an expression
Index List Input Uses only the List Index List input; best for selecting multiple colors dynamically

How to use

Connect a palette and enter the target color indices in Index Spec. For example, enter 1,2,3 and set Hue +/- to 120 to rotate only indices 1, 2, and 3 by a large amount.

Each adjustment can be promoted to an input pin. Drive it with Time Source or a waveform node to change palette colors over time.

Back to Node List