Skip to contents

Interpolates between two colors in RGB space.

Usage

cpp_color_interpolate(color1, color2, t)

Arguments

color1

First color as hex string

color2

Second color as hex string

t

Interpolation parameter(s) in 0, 1

Value

Hex color string(s)