rangeTo

operator fun ConvertibleToColorRGBa.rangeTo(end: ConvertibleToColorRGBa): ColorSequence(source)

Defines a range between two colors by creating a sequence of colors that transition smoothly from the start color to the end color.

Parameters

end

The end color of the range. Both start and end colors must implement ConvertibleToColorRGBa. The start color is implicitly the color on which this operator is called.