Skip to contents

Linearly interpolates between two colors in RGB space.

Usage

interpolate_color(color1, color2, alpha)

Arguments

color1

Start color (hex string or name)

color2

End color (hex string or name)

alpha

Interpolation factor (0 = color1, 1 = color2)

Value

Hex color string