hctHue

fun hctHue(from: Int, to: Int, amount: Double): Int

Blends hue from one color into another. The chroma and tone of the original color are maintained.

Return

from, with a hue blended towards to. Chroma and tone are constant.

Parameters

from

ARGB representation of color

to

ARGB representation of color

amount

how much blending to perform; 0.0 >= and <= 1.0