Studio Yotsuba
Back to Node List

Procedural Palette Ref

procedural_palette_ref

References a tool-wide or project-wide procedural palette and outputs the resolved Palette.

Reviewed
Guide available

Output Ports

NameTypeDescription
Palette
palette
Palette
Resolved palette generated from the referenced recipe.
Recipe
recipe
ProceduralPaletteRecipe
Referenced procedural palette recipe data.

Parameters

NameTypeDefaultRangeDescription / Options
Scope
scope
Enum
Project—

Whether to reference a tool-wide or project-wide procedural palette.

  • toolTool
    Reference a procedural palette stored in tool-wide user settings.
  • projectProject
    Reference a procedural palette saved inside the current project file.
Palette
palette_id
Text
——

Shared procedural palette id. Empty means the default shared procedural palette.

Recipe Data
recipe_data
CustomData
{"version":1,"variables":[{"id":"shadow_l_1","name":"Shadow L 1","comment":"影色を少し暗くします。","kind":"oklch_l","paramId":"variable_1","value":-12.0,"min":-50.0,"max":50.0,"step":0.1,"distribution":null},{"id":"shadow_l_2","name":"Shadow L 2","comment":"さらに暗い影色を作ります。","kind":"oklch_l","paramId":"variable_2","value":-24.0,"min":-50.0,"max":50.0,"step":0.1,"distribution":null}],"slots":[{"kind":"empty","index":0,"name":"Empty"},{"kind":"manual","index":1,"name":"Base Red","color":[0.9,0.18,0.28,1.0],"lightness_expression":"","chroma_expression":"","hue_expression":"","alpha_expression":"","variable_links":[]},{"kind":"oklchAdjust","index":2,"name":"Red Shadow 1","source":1,"lightness":0.0,"chroma":0.0,"hue":0.0,"alpha":0.0,"lightness_expression":"","chroma_expression":"","hue_expression":"","alpha_expression":"","variable_links":["shadow_l_1"]},{"kind":"oklchAdjust","index":3,"name":"Red Shadow 2","source":1,"lightness":0.0,"chroma":0.0,"hue":0.0,"alpha":0.0,"lightness_expression":"","chroma_expression":"","hue_expression":"","alpha_expression":"","variable_links":["shadow_l_2"]},{"kind":"manual","index":4,"name":"Base Blue","color":[0.2,0.38,0.95,1.0],"lightness_expression":"","chroma_expression":"","hue_expression":"","alpha_expression":"","variable_links":[]},{"kind":"oklchAdjust","index":5,"name":"Blue Shadow 1","source":4,"lightness":0.0,"chroma":0.0,"hue":0.0,"alpha":0.0,"lightness_expression":"","chroma_expression":"","hue_expression":"","alpha_expression":"","variable_links":["shadow_l_1"]},{"kind":"oklchAdjust","index":6,"name":"Blue Shadow 2","source":4,"lightness":0.0,"chroma":0.0,"hue":0.0,"alpha":0.0,"lightness_expression":"","chroma_expression":"","hue_expression":"","alpha_expression":"","variable_links":["shadow_l_2"]}],"slotOrder":[]}—

Injected procedural palette recipe from shared assets.

Resolved Name
resolved_name
Text
——

Injected display name of the resolved procedural palette.

Variable 1
variable_1
Float
-12-100–100 / step 0.01

Variable override used by the referenced recipe. Promote it to animate palette rules.

Variable 2
variable_2
Float
-24-100–100 / step 0.01

Variable override used by the referenced recipe. Promote it to animate palette rules.

Variable 3
variable_3
Float
0-100–100 / step 0.01

Variable override used by the referenced recipe. Promote it to animate palette rules.

Variable 4
variable_4
Float
0-100–100 / step 0.01

Variable override used by the referenced recipe. Promote it to animate palette rules.

Variable 5
variable_5
Float
0-100–100 / step 0.01

Variable override used by the referenced recipe. Promote it to animate palette rules.

Variable 6
variable_6
Float
0-100–100 / step 0.01

Variable override used by the referenced recipe. Promote it to animate palette rules.

Variable 7
variable_7
Float
0-100–100 / step 0.01

Variable override used by the referenced recipe. Promote it to animate palette rules.

Variable 8
variable_8
Float
0-100–100 / step 0.01

Variable override used by the referenced recipe. Promote it to animate palette rules.

  • type_id: procedural_palette_ref
  • category: Palette/Reference
  • purpose: References a procedural palette saved at tool or project scope and outputs the evaluated result as a regular Palette.

Overview

References a procedural-palette recipe saved as a common asset. It outputs a resolved, regular Palette, so multiple projects and graphs can share the same color design and all receive changes made to the source recipe.

Usage tips

  • Choose the reference type by intent: use common_palette_ref to share a color array, and this node to share the relationships between colors. Sharing the complete recipe for a character's standard colors lets one base-color change propagate to every asset.
  • The output is a resolved Palette, so consumers can treat it exactly like an ordinary palette.

Related nodes

  • procedural_palette — creates the source recipe
  • common_palette_ref — common reference for a color array
  • indexed_image_apply_palette — a typical destination

What this node does

This reference node reuses a recipe created with Procedural Palette as a common palette asset.

Common Palette Ref references a color array, while this node references a procedural-palette recipe containing manual colors, variables, and derived-color rules. The output Palette is a resolved color table and can connect directly to IndexedImage Render or palette-adjustment nodes.

How to use

  1. Open Procedural Palette and create a recipe.
  2. Save it as a common asset with Add to Project Common or Add to Tool Common in the editor.
  3. Add Procedural Palette Ref.
  4. Select scope and palette_id.
  5. Connect the palette output to indexed-image rendering or a palette-adjustment node.

This node is reevaluated whenever the referenced common procedural palette changes.

Planned extensions

  • Edit common procedural palettes directly from the left panel.
  • Select common procedural palettes in Pixel Canvas indexed-color mode.
  • Let users choose between a synchronized reference and importing a copy.
Back to Node List