Studio Yotsuba
Back to Node List

Common Palette Ref

common_palette_ref

Output a tool-wide shared palette as a Palette value.

Reviewed
Guide available

Output Ports

NameTypeDescription
Palette
palette
Palette
The referenced shared palette.
Summary
summary
Text
Short description of the referenced palette.

Parameters

NameTypeDefaultRangeDescription / Options
Scope
scope
Enum
Tool—

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

  • toolTool
    Reference a palette stored in the tool-wide user settings.
  • projectProject
    Reference a palette saved inside the current project file.
Source
source
Enum
Tool—

Which shared palette group to reference.

  • toolTool
    Use a tool-wide common palette for ordinary color picking.
  • indexIndex
    Use a tool-wide index-color palette. Changes in settings update this node.
Palette
palette_id
Text
——

Shared palette id. Empty means the default shared palette.

Palette Data
palette_data
CustomData
{"version":1,"colors":[]}—

Injected palette color data from the frontend user settings.

Resolved Name
resolved_name
Text
——

Injected display name of the resolved palette.

Use this node to bring a palette registered as tool-wide or project-wide into the node graph as an ordinary Palette.

Overview

This is the connection point that brings a shared palette (tool-wide or project-wide, managed in the Shared Palette panel with Ctrl+Alt+P) into a graph. Unlike loading a file, this is a live reference: change one color in the panel, and every graph that references it is reevaluated and updated. It is the central node for managing colors consistently across a project.

Common pitfalls

  • A color change is not reflected: the referenced scope (tool/project) does not match the scope edited in the panel. Check the node's scope.
  • Colors disappeared when opening another project: プロジェクト共通 is stored in the .ppl file. Register colors used across projects under ツール共通.
  • Changing one color changes everything: instead of editing the panel directly, insert palette_edit downstream for a local override (see "Using shared colors as a base" below).

What to use it for

  • Use your standard colors consistently in every project
  • Create a palette specific to one project and save it with the project file
  • Connect a shared indexed-color palette to IndexedImage Apply Palette so preview colors follow edits in the indexed-color panel
  • Use a shared palette as a base, then adjust the colors slightly for one image

Key concept

This node does not load a file.
It live-references the shared palette in the selected scope.

  • ツール共通 is stored in user settings and is available from every project.
  • プロジェクト共通 is stored in the current .ppl project file and is available only in that project.
  • Changing a color in the referenced shared palette also changes this node's output.
  • Insert Palette Edit downstream to override only the colors you need locally.
  • Colors not overridden in Palette Edit continue to follow changes in the original shared palette.

Usage

Using a project-wide indexed-color palette directly

  1. Create 共通パレット参照.
  2. Set スコープ to プロジェクト共通.
  3. Set 参照先 to 共通インデックスカラーパレット.
  4. Leave パレット blank, or select the shared indexed-color palette you want.
  5. Connect the palette output to 差し替えパレット on IndexedImage Apply Palette.

Now, changing a color in the indexed-color panel reevaluates and updates the colors in referencing images.

Using shared colors as a base with image-specific edits

Common Palette Ref
  ↓
Palette Edit
  ↓
IndexedImage Apply Palette

Only colors changed in Palette Edit become local overrides.
Unchanged colors continue to follow the shared palette.

Difference from Palette Load

パレット読込 reads a color table from an external file.
A loaded file, a tool-wide palette, and a project-wide palette are treated as separate things.

共通パレット参照 references a registered tool-wide or project-wide palette. Use it when changes to the shared palette should also update the reference in the graph.

Related nodes

  • palette_edit — local overrides on a reference, combining shared and individual colors
  • indexed_image_apply_palette — the companion for indexed-color workflows
  • palette_load — loads an external file and is static
  • procedural_palette_ref — references a procedural palette
Back to Node List