Yotsuba Games
Back to Node List

Color Adjust OKLCH

color_adjust_oklch

Adjust one color in OKLCH space. Useful before writing the result back into a palette.

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
่‰ฒ
color
Color
Required
่ฃœๆญฃใ—ใŸใ„ๅ…ƒใฎ่‰ฒใงใ™ใ€‚

Output Ports

NameTypeDescription
่‰ฒ
color
Color
่ฃœๆญฃๅพŒใฎ่‰ฒใงใ™ใ€‚

Parameters

NameTypeDefaultRangeDescription / Options
ๆ˜Žใ‚‹ใ• +/-
lightness_delta
Float
0-100โ€“100 / step 0.1

OKLCHใฎๆ˜Žใ‚‹ใ•ใ‚’่ถณใ—ๅผ•ใใ—ใพใ™ใ€‚+5ใชใ‚‰ๅฐ‘ใ—ๆ˜Žใ‚‹ใใ€-5ใชใ‚‰ๅฐ‘ใ—ๆš—ใใ—ใพใ™ใ€‚

้ฎฎใ‚„ใ‹ใ• +/-
chroma_delta
Float
0-0.4โ€“0.4 / step 0.001

OKLCHใฎ้ฎฎใ‚„ใ‹ใ•ใ‚’่ถณใ—ๅผ•ใใ—ใพใ™ใ€‚ใƒ—ใƒฉใ‚นใงๅผทใ„่‰ฒใ€ใƒžใ‚คใƒŠใ‚นใงใ‚ฐใƒฌใƒผๅฏ„ใ‚Šใซใชใ‚Šใพใ™ใ€‚

่‰ฒ็›ธ +/-
hue_delta
Float
0-360โ€“360 / step 1

่‰ฒ็›ธใ‚’่ง’ๅบฆใงใšใ‚‰ใ—ใพใ™ใ€‚+10ใชใ‚‰่‰ฒๅ‘ณใ‚’ๅฐ‘ใ—ๅ…ˆใธๅ›žใ—ใพใ™ใ€‚

้€ๆ˜Žๅบฆ +/-
alpha_delta
Float
0-100โ€“100 / step 1

ไธ้€ๆ˜Žๅบฆใ‚’่ถณใ—ๅผ•ใใ—ใพใ™ใ€‚-20ใชใ‚‰ๅฐ‘ใ—้€ๆ˜Žใซใ—ใพใ™ใ€‚

Adjusts a single color in OKLCH space.

OKLCH makes lightness, chroma, and hue easy to manipulate in a way that better matches human perception. Use it to extract one palette color and darken it slightly, reduce only a shadow color's chroma, or shift its hue a little.

Overview

Adjusts one Color in OKLCH (a perceptual color space). It handles delicate changes such as โ€œmake color 3 slightly darker and more mutedโ€ without unwanted hue shifts or unnatural changes in brightness.

Usage tips

  • Use the standard three-node chain: palette_get โ†’ color_adjust_oklch โ†’ palette_set.
  • The go-to pattern for shadow colors is to derive them from a base color by reducing lightness, adjusting chroma, and nudging the hue. The key advantage is that the shadow follows whenever the base color changes.
  • For bold color swaps with large hue rotations, the HSV version is easier to predict.

Related nodes

  • color_adjust_hsv โ€” the counterpart for bold color swaps
  • palette_get / palette_set โ€” the go-to nodes before and after this one
  • palette_adjust_oklch โ€” adjusts multiple slots at once
  • oklch_adjust โ€” adjusts an entire image in OKLCH space

How to use

  1. Use Palette Get to extract one color from a palette.
  2. Make a small color adjustment with this node.
  3. Use Palette Set to write the adjusted color back to the desired index in the original palette.

This lets you build per-color edits such as โ€œmake only palette color 3 slightly darkerโ€ as a node chain.

Back to Node List
Color Adjust OKLCH โ€” PixPipeline Node Reference