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
The node name and summary are available in English. Port, parameter, and article details are currently shown in Japanese.

Input Ports

NameTypeDescription
パレット
palette
Palette
Required
補正したい元パレットです。
番号
index
Int
動的に1色だけ選ぶための番号入力です。
番号リスト
index_list
List<Int>
動的に複数色を選ぶための番号リスト入力です。

Output Ports

NameTypeDescription
パレット
palette
Palette
補正後のパレットです。

Parameters

NameTypeDefaultRangeDescription / Options
番号指定モード
selection_mode
Enum
Auto

補正する色番号をどこから決めるかです。

  • 自動Auto
    番号リスト入力があればそれを使い、次に番号入力、どちらもなければテキストの番号指定を使います。接続した入力に有効な番号がなければ、テキストへ戻らず何も補正しません。
  • テキストText
    テキストの番号指定だけを使います。記入例: `all`、`0`、`2,4,6`、`3-7`。
  • 番号入力Index
    番号入力だけを使います。記入/接続例: Intで `0`、または `0 -> 1 -> 2` と変化させて1色ずつ補正対象を動かします。
  • 番号リスト入力List
    番号リスト入力だけを使います。記入/接続例: List<Int>で `[0,2,4]`、または `[3,4,5,6]` を接続して複数色を補正します。
番号指定
indices
Text
all

補正する色番号です。例: `all`、`0`、`2,4,6`、`3-7`。番号は0始まりです。

色相 +/-
hue_delta
Float
0-360–360 / step 1

HSVの色相を角度でずらします。

彩度 +/-
saturation_delta
Float
0-1–1 / step 0.01

HSVの彩度を足し引きします。プラスで鮮やかに、マイナスでグレー寄りになります。

明度 +/-
value_delta
Float
0-1–1 / step 0.01

HSVの明度Vを足し引きします。

不透明度 +/-
alpha_delta
Float
0-100–100 / step 1

不透明度を足し引きします。

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
Palette Adjust HSV — PixPipeline Node Reference