getAnalogousColors

fun getAnalogousColors(count: Int, divisions: Int): List<Hct>

A set of colors with differing hues, equidistant in temperature.

In art, this is usually described as a set of 5 colors on a color wheel divided into 12 sections. This method allows provision of either of those values.

Behavior is undefined when count or divisions is 0. When divisions < count, colors repeat.

Parameters

count

The number of colors to return, includes the input color.

divisions

The number of divisions on the color wheel.