ComfyUI > Nodes > ComfyUI > Color Transfer

ComfyUI Node: Color Transfer

Class Name

ColorTransfer

Category
image/postprocessing
Author
ComfyAnonymous (Account age: 763days)
Extension
ComfyUI
Latest Updated
2026-05-13
Github Stars
112.77K

How to Install ComfyUI

Install this extension via the ComfyUI Manager by searching for ComfyUI
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Color Transfer Description

Harmonize color palettes between images using advanced algorithms for consistent themes and aesthetic transfer.

Color Transfer:

The ColorTransfer node is designed to harmonize the color palette of one image with that of another, using advanced algorithms. This node is particularly beneficial for artists and designers who wish to achieve a consistent color theme across multiple images or to apply the aesthetic of a reference image to their work. By leveraging methods such as reinhard_lab, mkl_lab, and histogram, the node provides flexibility in how colors are matched, allowing for both subtle and dramatic transformations. This capability is essential for tasks like color grading, color correction, and achieving a cohesive visual style in a series of images or frames.

Color Transfer Input Parameters:

image_target

This parameter represents the image or images to which the color transformation will be applied. It is the primary subject that will undergo color adjustment to match the reference image.

image_ref

The reference image(s) serve as the color source. The colors from this image will be used as a template to adjust the colors of the target image, ensuring that the target image adopts the desired color characteristics.

method

This parameter allows you to choose the algorithm used for color matching. Options include reinhard_lab, mkl_lab, and histogram. Each method offers a different approach to color transfer, affecting the final look of the transformed image.

source_stats

This parameter determines how the color statistics are computed and applied. Options include per_frame, uniform, and target_frame. per_frame matches each frame individually to the reference image, uniform pools statistics across all source frames, and target_frame uses a specific frame as the baseline for transformation.

strength

The strength parameter controls the intensity of the color transfer effect. It ranges from 0.0 to 10.0, with a default value of 1.0. A lower value results in a subtler effect, while a higher value intensifies the color matching.

Color Transfer Output Parameters:

image

The output is the transformed image, which has undergone color adjustment to match the reference image. This output reflects the application of the chosen color transfer method and strength, providing a visually cohesive result.

Color Transfer Usage Tips:

  • Experiment with different method options to find the best color matching algorithm for your specific project needs.
  • Adjust the strength parameter to fine-tune the intensity of the color transfer, ensuring the final image meets your artistic vision.
  • Use the source_stats parameter to control how color statistics are applied, which can be particularly useful when working with sequences of images or video frames.

Color Transfer Common Errors and Solutions:

Invalid method selection

  • Explanation: The method chosen is not among the available options (reinhard_lab, mkl_lab, histogram).
  • Solution: Ensure that the method parameter is set to one of the valid options.

Image size mismatch

  • Explanation: The target and reference images have different dimensions, which can cause issues in processing.
  • Solution: Ensure that both the target and reference images have the same dimensions before applying the color transfer.

Strength out of range

  • Explanation: The strength parameter is set outside the allowed range of 0.0 to 10.0.
  • Solution: Adjust the strength parameter to fall within the specified range to ensure proper functionality.

Color Transfer Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

Color Transfer