blend

fun blend(other: KutintColor<*>, amount: Float = 0.5f): RGB

Blends two colors together using a linear interpolation between them in the RGB color space.

Return

The blended color as an RGB.

Parameters

other

The other color to blend with.

amount

The amount to blend the colors 0 to 1.