getAnalogousColors

5 colors that pair well with the input color.

The colors are equidistant in temperature and adjacent in hue.


open 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

Parameters

count

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

divisions

The number of divisions on the color wheel.