Studio Yotsuba
Back to Node List

OKLCH Adjust

oklch_adjust

Adjusts image lightness, chroma, and hue in OKLCH space

Reviewed
Guide available

Input Ports

NameTypeDescription
Image
input
Image
Required
Input image

Output Ports

NameTypeDescription
Image
output
Image
OKLCH adjusted image

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. Positive values make colors stronger; negative values make them grayer.

Hue +/-
hue
Float
0-180–180 / step 1

Rotates OKLCH hue in degrees.

Overview

The perceptually uniform counterpart of hsv_adjust. It adjusts lightness (L), chroma (C), and hue (H) along axes that behave as they look. Because rotating hue does not cause brightness to fluctuate, use this instead of HSV when changing color while preserving the image's shading balance.

Usage tips

  • Choose it over HSV when you want to change color while preserving perceived brightness; use hsv_adjust for quick, approximate adjustments. Their roles are otherwise the same.
  • It excels at creating the atmosphere of a time of day. Broad grading such as evening = L-5/C+0.02/H+15 or night = L-25/C-0.05/H+30 is less likely to break.
  • For palette-managed material, use palette_adjust_oklch to adjust the palette itself; the underlying approach is the same.

When to use it

  • To make an entire image slightly brighter or darker with less dependence on its original hues
  • To adjust shadow or highlight colors across a pixel-art asset
  • To make color variants or animated color changes

Technical details

Each pixel is converted from RGB to OKLCH, corrected along L / C / H, then converted back to RGB. The A channel is unchanged.

When converting back to RGB, colors outside the displayable gamut are clamped to the RGB range. Extremely strong adjustments may therefore clip some colors to white, black, or maximum saturation.

Related nodes

  • hsv_adjust — HSV counterpart for quick adjustments
  • palette_adjust_oklch — adjust a palette along the same axes
  • brightness — focused lightness-only version using the same OKLCH-L internally
  • oklch_adjust_pack / oklch_adjust_unpack — combine and split correction sets
Back to Node List