modColors method

Iterable<Color> modColors(
  1. IntList degrees
)

Returns a list of colors that are modified by the provided degrees int the color wheel.

Implementation

Iterable<Color> modColors(IntList degrees) => degrees.map((degree) {
      var hsv = HSVColor.fromColor(this);
      return hsv.withHue((hsv.hue + degree) % 360).toColor();
    });