Color Match - Sync Renders To Color Palette

by Miha Marinko in Addons


abstract wheels
Color Match is a tool designed to assist you in achieving precise color matching within your renders Select a color field within your materials, lighting, or compositor nodes, and Color Match will optimize the RGB components to align with your desired color.
animation of color matching

Instructions

1. Pick your color

Input the target color with HEX code or color picker.

step1

2. Adjust location of render

Change X and Y coordinates and size of target point on your render image. This area will be used to for color matching.

step2

3. Select color to Change

Right click on the color property of material or compositor node you wish to change. Select Assign to Color Match option in the menu.

step3

4. Run Color Match

The process will render a small part of your image multiple times and optimize the color in that area to match your target color as close as possible.

step4

How it works?

gradient

The algorithm behind Color Match is based on gradient descent, a method of finding the minimum difference from a given value. The process will render a small part of your image and calculate the error between the desired color and the actual color. Each iteration will adjust the RGB values to minimize the error.

You can control the size of the step taken in each iteration by adjusting the Step Size value. A smaller step size will result in a more precise movement, but will take longer to converge. Too large of a step size could result in the algorithm overshooting the minimum and oscillating around the desired color.

diagram

Features

  • Operates with color properties from materials and compositor nodes.
  • Works with Cycles and Eevee render engines.
  • Matching can be done regardless of the color space of the image.

Limitations

The color matching algorithm is not magic. It will not be able to match colors that cannot be achieved with change of only a single RGB value. In this cases you will likely need to adjust lighting and materials of the scene.

The algorithm for colormatching tries to get a color as close as possible to the target color, but there will always be a little bit of error. You can make the error smaller and unnoticable with more iterations.

Sales 50+
Customer Ratings 1
Average Rating
Dev Fund Contributor
Published 10 months ago
Blender Version 4.0, 3.6, 3.5, 3.4, 3.3
License GPL
Have questions before purchasing?

Contact the Creator with your questions right now.

Login to Message