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.