ComfyUI Extension: Comfyui-ColorMatchNodes

Authored by elyetis

Created

Updated

0 stars

Color match nodes for ComfyUI that color-match target images against reference images with manual or auto-ramped blending, ideal for smooth color transitions between video clips.

Custom Nodes (0)

    README

    Comfyui-ColorMatchNodes

    Various ( vibe coded ) Color Match Nodes

    Currently only two ComfyUI custom nodes to color-match a target image (or batch) against two reference images, then blend the two matched results with either a manual or an auto-ramped weight schedule.

    ✨ What you get

    ColorMatch2Refs – match to Ref A and Ref B with a manual weight_a (B gets 1 - weight_a), then optionally pull toward the blended result with strength.

    ColorMatchBlendAutoWeights – same idea, but weight_a is automatically ramped across the batch (defaults: first frame toward A, last frame toward B). Supports easing curves and start/end weights.

    Examples : Preview Preview

    Use Case for ColorMatchBlendAutoWeights : Smooth Color Transition Between Clips ( for example when using Vace to generate clip transition )

    Imagine you’re grading a video sequence made of three clips:

    [ Clip A ] → [ Clip B ] → [ Clip C ]

    You want Clip B (the middle one) to smoothly inherit the color mood from Clip A to Clip C — avoiding a harsh visual jump.

    That’s exactly where ColorMatchBlendAutoWeights ( should ) shines:

    Use the last frame of Clip A as Reference A

    Use the first frame of Clip C as Reference B

    Use all frames of Clip B as Targets

    The node will then:

    Color-match each frame of Clip B to both references (A & B)

    Automatically ramp the influence from A → B across the batch (first frame close to Clip A’s color tone, last frame close to Clip C’s)

    Blend them progressively according to the easing curve and strength

    This produces a natural, cinematic color transition — perfect for scene bridges, shot stitching, or matching intermediate frames between two graded looks.

    Example weight ramp for 10-frame Clip B (default linear mode):

    Frame:     0    1    2    3    4    5    6    7    8    9
    weight_a: 1.0  0.9  0.8  0.7  0.6  0.5  0.4  0.3  0.2  0.1 → 0.0
    

    Result → first frames look closer to Clip A, last frames closer to Clip C, with a smooth transition in between.