Back to Node List

OKLCH Adjust

oklch_adjust

Adjusts image lightness, chroma, and hue in OKLCH space

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
画像
input
Image
Required
入力画像

Output Ports

NameTypeDescription
画像
output
Image
OKLCH調整後の画像

Parameters

NameTypeDefaultRangeDescription / Options
明るさ +/-
lightness
Float
0-100–100 / step 0.1

OKLCHの明るさLを足し引きします。+5なら少し明るく、-5なら少し暗くします。

鮮やかさ +/-
chroma
Float
0-0.4–0.4 / step 0.001

OKLCHの鮮やかさCを足し引きします。プラスで強い色、マイナスでグレー寄りになります。

色相 +/-
hue
Float
0-180–180 / step 1

OKLCHの色相Hを角度で回します。

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