Nodes/ComfyUI_Gayrat/Цветокоррекция (Продвинутая)
ComfyUI Node

Цветокоррекция (Продвинутая)

The full color-grading toolbox, in one Russian-named node

By gayratv·Created about a year ago·Updated about a year ago· 3
Цветокоррекция (Продвинутая)
  • image
  • mask
  • IMAGE
brightness1.00
contrast1.00
gamma1.00
exposure0.00
offset0.00
hue0.00
saturation1.00
value1.00
highlights0.00
shadows0.00
temperature0
tint0
clamptrue

Note the display name is in Russian: Цветокоррекция (Продвинутая) - "Advanced Color Correction." If you search for "color correct" in this pack and find nothing, this is it; the author is Russian-speaking and labeled the node for his own audience. The tooltips on every slider are in Russian too, so here's the translation up front.

This is the pack's most serious node: a full color-grading toolbox forked from melMass's comfy_mtb ColorCorrect, but rewritten in pure PyTorch - no OpenCV, no MTB dependency - with brightness, highlights/shadows, and temperature/tint added on top of the original's gamma/contrast/exposure/hue/saturation/value. It runs on the GPU, which for a color node is genuinely nice: these operations are all lookup-table fast, so it never becomes a bottleneck, and it supports an optional mask to grade only part of the frame.

The dials that matter

Most of them default to "no change" (1.0 or 0), so you only touch what you need:

  • brightness (0–2, default 1) - overall lift; 0.8–1.2 is the sensible band.
  • contrast (0–5, default 1) - <1 softens, >1 snaps. 0.8–1.3 recommended.
  • gamma (0.1–5, default 1) - a power curve on midtones; <1 lightens, >1 darkens without moving black or white. This is the "proper exposure" knob, not brightness.
  • exposure (−5..5) - the f-stop style adjustment; ±1 doubles or halves light.
  • hue (±0.5) - rotates the color wheel; ±0.5 = 180°. Used in tiny amounts.
  • saturation (0–5, default 1) - 0 is black and white.
  • highlights / shadows (±1) - recover detail in bright or dark regions separately. This is the pair that makes the node feel like Lightroom.
  • temperature / tint (±100) - warm/cool and green/magenta. The tint knob is what you want for skin-tone corrections.
  • clamp (boolean, default on) - keeps values in [0,1]. Turn it off for HDR-style work where you deliberately push values past 1 for a glow/bloom pass.

Optional mask input limits all of it to a region. One IMAGE output.

Honest takes

Where the MTB original and most color nodes just do brightness/gamma/contrast, the highlights/shadows and temperature/tint additions are what actually make this "advanced" - they're the reason to pick this node over a plain adjustments node. The trade is that with twelve sliders it's easy to overdo it: the tooltips give you safe ranges (temperature ±30, tint ±20, highlights ±0.3), and those ranges are good advice, not decoration. And remember the KB's core warning about this whole category: don't reach for img2img to fix color - that burns a diffusion pass and rewrites your pixels to do what a lookup table does instantly. This node is that lookup table. Skip the diffusion pass.

One caution on the mask: grading a masked region can leave a visible seam unless your mask is feathered, because the adjustments apply fully inside and not at all outside.

Install

ComfyUI Manager: search ComfyUI_Gayrat. By hand:

cd ComfyUI/custom_nodes
git clone https://github.com/gayratv/ComfyUI_Gayrat
cd ComfyUI_Gayrat
pip install -r requirements.txt

Restart ComfyUI; it's under Gayrat/image processing. Pure PyTorch - no extra downloads. Small personal pack, but this node is its best-maintained piece, and the fact that it's self-contained (no MTB dependency) means it won't drag in a whole extra framework just to grade a frame.

CategoryGayrat/image processing

Inputs (15)

NameTypeDefaultDescription
imageIMAGE
brightnessFLOAT1.000–2Яркость: 1.0=без изменений, <1=темнее, >1=ярче. Рекомендуется 0.8-1.2
contrastFLOAT1.000–5Контраст: 1.0=без изменений, <1=мягче, >1=резче. Рекомендуется 0.8-1.3
gammaFLOAT1.000.1–5Гамма: коррекция средних тонов. <1=светлее, >1=темнее. Рекомендуется 0.8-1.2
exposureFLOAT0.00-5–5Экспозиция: имитация выдержки. ±1=удвоение/уполовинивание света. Рекомендуется ±0.5
offsetFLOAT0.00-1–1Смещение: сдвиг черной точки. Рекомендуется ±0.1 для тонкой настройки
hueFLOAT0.00-0.5–0.5Оттенок: поворот цветового круга. ±0.5=180°. Рекомендуется ±0.05
saturationFLOAT1.000–5Насыщенность: интенсивность цветов. 0=ч/б, 1=норма. Рекомендуется 0.8-1.3
valueFLOAT1.000–5Яркость HSV: светлота без изменения цвета. Рекомендуется 0.8-1.2
highlightsFLOAT0.00-1–1Света: коррекция ярких областей. -=восстановление деталей. Рекомендуется ±0.3
shadowsFLOAT0.00-1–1Тени: коррекция темных областей. +=осветление теней. Рекомендуется ±0.3
temperatureFLOAT0-100–100Температура: +=теплее (желтый), -=холоднее (синий). Рекомендуется ±30
tintFLOAT0-100–100Оттенок: +=пурпурный, -=зеленый. Для коррекции кожи рекомендуется ±20
clampBOOLEANtrueОграничение значений [0,1]. Отключите для HDR и спецэффектов (bloom/glow)
maskoptMASK

Outputs (1)

NameTypeDescription
IMAGEIMAGE