Nodes/Comfyui-TOO-Pack/Custom Color Tint (Hex)
ComfyUI Node

Custom Color Tint (Hex)

Photoshop-grade color grading without a diffusion pass

By tetsuoo-onlineΒ·Created 9 months agoΒ·Updated about a month agoΒ· 5
Custom Color Tint (Hex)
  • image
  • IMAGE
β—„color_hex#FF6B35β–Ί
β—„intensity0.30β–Ί
β—„blend_modeβ–Ύβ–Ί
β—„preserve_luminositytrueβ–Ί

Custom Color Tint is the node that finally does "make this image warmer/teal/orange" the way Photoshop does - as a deterministic pixel operation, not a re-sampling. Drop an image in, type a hex color, and it tints the whole frame by blending that color in. If you've ever done a color pass with img2img, you know the failure mode the KB's post-processing essay warns about: a diffusion re-run rewrites faces, rolls a new seed lottery, and takes twenty seconds to do what a blend mode does in a millisecond. This node is the blend mode.

You'd reach for it at the very end of a workflow, after VAE decode, as the last thing before the saver. Need a warmer skin tone? A moody blue grade? A quick duotone for a thumbnail? Pick #FF6B35 at low intensity and the whole image takes on the tone. Because it's cheap and deterministic, you can slap two or three of them in series (tint, then a subtle screen pass) without paying any model cost.

How it works. The node parses your hex (it also accepts 3-digit shorthand like #F60), builds a solid color layer the size of your image, then applies one of five blend modes - overlay, multiply, screen, soft_light, or color - as per-pixel math, and finally mixes the result back with the original by intensity. intensity is the master knob: 0 is no effect, 1 is full color. preserve_luminosity keeps the original brightness while shifting hue (a LAB-space trick), so your shadows don't turn orange.

The inputs that matter. Four things to set and one checkbox:

  • color_hex - the tint color, any hex string.
  • intensity - how strong, 0 to 1, default 0.3.
  • blend_mode - overlay is the usual cinematic pick; color recolors while keeping contrast; screen lifts and brightens.
  • preserve_luminosity - leave it on for natural-looking grades.

Output is a single IMAGE, batch-safe, ready for the saver.

Install. It's part of Comfyui-TOO-Pack:

cd ComfyUI/custom_nodes
git clone https://github.com/tetsuoo-online/Comfyui-TOO-Pack

or install via ComfyUI Manager ("Comfyui-TOO-Pack") and restart.

The honest gotcha. preserve_luminosity uses OpenCV under the hood, and the pack doesn't install OpenCV for you - it's not in requirements.txt. If you don't have it, the node still works fine but that checkbox quietly does nothing. If you want the full effect:

pip install opencv-python

then restart ComfyUI. Without it, multiply/overlay/screen still do the visible work; you just lose the luminosity-preservation nicety. Small pack, small annoyance - worth knowing before you wonder why "preserve luminosity" isn't preserving anything.

CategoryπŸ”΅TOO-Pack/image

Inputs (5)

NameTypeDefaultDescription
imageIMAGEβ€”
color_hexSTRING#FF6B35β€”
intensityFLOAT0.300–1β€”
blend_modeCOMBO5 options: overlay, multiply, screen, soft_light, color
preserve_luminosityBOOLEANtrueβ€”

Outputs (1)

NameTypeDescription
IMAGEIMAGEβ€”