Studio Yotsuba
Back to Node List

OKLCH Adjust Pack

oklch_adjust_pack

Builds an OKLCH adjustment set from L, C, H, and A numeric lanes.

Reviewed
Guide available

Input Ports

NameTypeDescription
Lightness +/-
lightness
Float
Optional L adjustment input.
Chroma +/-
chroma
Float
Optional C adjustment input.
Hue +/-
hue
Float
Optional H adjustment input in degrees.
Alpha +/-
alpha
Float
Optional alpha adjustment input.

Output Ports

NameTypeDescription
Adjust
adjust
OklchAdjust
Packed OKLCH adjustment set.

Parameters

NameTypeDefaultRangeDescription / Options
Lightness +/-
lightness
Float
0-100–100 / step 0.1

Adds to OKLCH L in percentage points.

Chroma +/-
chroma
Float
0-0.4–0.4 / step 0.001

Adds to OKLCH C.

Hue +/-
hue
Angle
0— / step 1

Rotates OKLCH hue in degrees. The UI wraps around 0-360 degrees.

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

Adds to alpha in percentage points.

Overview

Builds an OKLCH adjustment set (OklchAdjust) from four L/C/H/A values. Wire an adjustment such as "lightness −12, chroma unchanged, hue +10" as one value and pass it to adjustment inputs on nodes such as Procedural Palette.

Usage tips

  • A key strength is driving adjustments with waveforms or variables. Connecting a waveform to lightness creates dynamic color control whose adjustment changes over time.
  • Round-trip through oklch_adjust_unpack to replace only part of an existing adjustment value in a processing chain.

Related nodes

  • oklch_adjust_unpack — the unpacking counterpart

  • procedural_palette — a common destination for the adjustment set

  • oklch_adjust — applies an adjustment directly to an image

  • float_input — exposes individual components

  • version: 1

Important behavior

  • An unconnected input port uses the parameter with the same name.
  • A connected input port takes priority over the parameter value.
  • L/C/H/A have input ports from the start, so their Inspector parameters cannot also be promoted to input pins.
  • The hue parameter is an Angle, providing a cyclic control from 0 to 360 degrees.
  • The output is an OklchAdjust, not a plain list. Downstream nodes receive it with the semantic meaning of an OKLCH adjustment value.

How to use

  • Adjust L/C/H/A manually and pass the result as a Procedural Palette adjustment.
  • Connect Float Input or a waveform node to lightness or hue to change the adjustment dynamically.
  • Combine with OKLCH Adjust Unpack to modify part of an existing adjustment and repack it.
Back to Node List