Custom Color Tint (Hex)
Photoshop-grade color grading without a diffusion pass
- image
- IMAGE
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,0to1, default0.3.blend_mode-overlayis the usual cinematic pick;colorrecolors while keeping contrast;screenlifts 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.
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | β | |
| color_hex | STRING | #FF6B35 | β |
| intensity | FLOAT | 0.300β1 | β |
| blend_mode | COMBO | 5 options: overlay, multiply, screen, soft_light, color | |
| preserve_luminosity | BOOLEAN | true | β |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | β |