Change Color Node

john's Avatar


29 Nov, 2023 05:30 AM

What if you have a list of different colors and you want to change just one color property of all those colors at once? Maybe you want to see what would happen if you lowered the saturation or increased the brightness across all of them.

That's when you need my new change_color node.

Change_color takes the following inputs:

  • Color. A list of colors
  • Reference. A reference color with specific hue, saturation, brightness, and alpha values
  • Set hue. Check if you want to change the hue on all colors to the reference hue
  • Set saturation. Check if you want to change the saturation on all colors to the reference saturation
  • Set brightness. Check if you want to change the brightness on all colors to the reference brightness
  • Set alpha. Check if you want to change the alpha on all colors to the reference alpha

The demo (attached) shows some examples of how to use this node.

We start with a bouquet of ten colored balloons. They are arranged in a spectrum of hues which, from left to right, decrease in saturation, increase in brightness, and in decrease in alpha. We then apply the change_color node to all of them four different times.

The first time we leave the other properties in place but fix the hue to green. To do this we check the "Set hue" checkbox, uncheck the rest, and then open the reference color and adjust the hue setting. The other properties of the reference color don't matter since we are only changing the hue.

The second time we change the saturation and make everything opaque by also changing the alpha (to the full alpha value of the reference color).

The third time we only change the brightness, decreasing it slightly.

The fourth time we set all of the balloons to the same alpha value. This works like my fade node except it applies to colors, not shapes.

That's it!

This node is one of several additions and improvements I plan to make to my color nodes before releasing the next rev of my Cartan Node Library. Comments welcome as always.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Already uploaded files

  • Change_Color_Screenshot.png 559 KB
  • 4.89 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

03 Mar, 2024 04:34 AM
23 Feb, 2024 07:39 PM
23 Feb, 2024 10:02 AM
22 Feb, 2024 05:51 AM
21 Feb, 2024 05:27 PM


21 Feb, 2024 04:49 PM
16 Feb, 2024 05:24 PM
06 Feb, 2024 04:45 AM
19 Jan, 2024 09:50 AM
13 Jan, 2024 03:47 AM
05 Jan, 2024 05:10 PM