Match HSL To Reference Color Python Script for Substance Designer

Available for purchase on ArtStation!
https://www.artstation.com/a/55669551

Python Script for Adobe Substance 3D Designer

This script automatically calculates the Hue, Saturation, and Lightness values required for an HSL node to match a reference color.

Simply select an HSL node and a Reference Color (Uniform Color) node, run the script, and it will analyze both colors and write the correct HSL parameter values directly onto the HSL node.

Features

- Automatically matches an HSL node to a reference color.
- Calculates Hue, Saturation, and Lightness values automatically.
- Works with exposed colors.
- Fast one-click workflow.
- Accurate HSL calibration.

Perfect for

- Converting existing graphs to use a single shared color parameter.
- Creating automatically linked secondary colors.
- Speeding up material authoring workflows.

Installation

- Open Window → Python Editor.
- Load the downloaded Python script.
- Select one HSL node and one Reference Color (Uniform Color) node.
- Run the script.

Compatibility

- Substance Designer 2020 +