ComfyUI > Nodes > ComfyUI-UniversalToolkit > Color Match (UTK)

ComfyUI Node: Color Match (UTK)

Class Name

ColorMatch_UTK

Category
UniversalToolkit/Image
Author
whmc76 (Account age: 1110days)
Extension
ComfyUI-UniversalToolkit
Latest Updated
2026-03-16
Github Stars
0.07K

How to Install ComfyUI-UniversalToolkit

Install this extension via the ComfyUI Manager by searching for ComfyUI-UniversalToolkit
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-UniversalToolkit 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 Match (UTK) Description

Transfers color characteristics between images using advanced color-matching techniques.

Color Match (UTK):

The ColorMatch_UTK node is a powerful tool designed to facilitate the transfer of color characteristics from one image to another, making it an invaluable asset for AI artists and designers working with photographs, paintings, and film sequences. This node leverages advanced color-matching techniques to achieve automatic color grading, ensuring that your images maintain a consistent and aesthetically pleasing color palette. The node employs several sophisticated methods, including the Monge-Kantorovich Linearization (MKL), Histogram Matching (HM), the Reinhard method, and Multi-Variate Gaussian Distribution (MVGD), to provide a range of options for color transfer. The compound method HM-MVGD-HM, which combines Histogram Matching with MVGD, is particularly noted for its superior performance. By using this node, you can achieve seamless color harmonization across different visual media, enhancing the overall visual coherence and appeal of your projects.

Color Match (UTK) Input Parameters:

image_target

The image_target parameter specifies the target image to which the color characteristics will be transferred. This image will undergo color transformation based on the selected method and reference image. It is crucial to choose an image that you wish to modify in terms of color to achieve the desired visual effect.

image_ref

The image_ref parameter is the reference image from which the color characteristics will be extracted. This image serves as the color template, and its color palette will be applied to the target image. Selecting an appropriate reference image is essential for achieving the intended color grading effect.

method

The method parameter determines the color transfer technique to be used. Options include mkl (Monge-Kantorovich Linearization), hm (Histogram Matching), reinhard (Reinhard et al. method), mvgd (Multi-Variate Gaussian Distribution), hm-mvgd-hm (Histogram Matching + MVGD + Histogram Matching), and hm-mkl-hm (Histogram Matching + MKL + Histogram Matching). Each method offers a unique approach to color matching, allowing you to select the one that best suits your artistic needs.

strength

The strength parameter controls the intensity of the color transfer effect, with a default value of 1.0. Adjusting this parameter allows you to fine-tune the degree of color transformation applied to the target image, providing flexibility in achieving subtle or dramatic color changes.

multithread

The multithread parameter is a boolean option that enables or disables multithreading during the color transfer process. When set to True, the node utilizes multiple threads to enhance processing speed, which can be beneficial for handling large images or complex color transformations.

Color Match (UTK) Output Parameters:

out

The out parameter is the output image that results from the color transfer process. This image reflects the color characteristics of the reference image applied to the target image, based on the selected method and strength. The output image is the final product of the color matching operation, ready for further use or display in your creative projects.

Color Match (UTK) Usage Tips:

  • Experiment with different methods to find the one that best suits your artistic vision, as each method offers distinct color transformation characteristics.
  • Use the strength parameter to control the intensity of the color transfer, allowing for subtle adjustments or bold changes to the target image's color palette.
  • Enable multithread for faster processing, especially when working with high-resolution images or when applying complex color transformations.

Color Match (UTK) Common Errors and Solutions:

Invalid method selected

  • Explanation: The method specified is not recognized by the node.
  • Solution: Ensure that the method parameter is set to one of the supported options: mkl, hm, reinhard, mvgd, hm-mvgd-hm, or hm-mkl-hm.

Image dimensions mismatch

  • Explanation: The target and reference images have incompatible dimensions.
  • Solution: Verify that both images have the same dimensions or adjust them accordingly before performing the color transfer.

Insufficient memory error

  • Explanation: The system runs out of memory during processing, especially with large images.
  • Solution: Reduce the image size or disable multithread to decrease memory usage, or consider upgrading your system's memory capacity.

Color Match (UTK) Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-UniversalToolkit
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 Match (UTK)