Skip to main content

Blend Color

An expression editor function that blends two colors based on a percentage.

Updated yesterday

Overview

This function combines two colors using linear interpolation based on a specified percentage.


Parameters

blendColor(color1, color2, percent)

Red

First color to blend.

Green

Second color to blend.

Blue

Blend percentage (0-1, where 0 is fully color1 and 1 is fully color2).


For example...

blendColor(red, blue, 0.5)

Returns purple color (50% blend of red and blue).

Did this answer your question?