AugmentColorModels extension

on

Methods

augment(int newLength, {List<double>? stops, ColorSpace? colorSpace, bool invert = false}) List<ColorModel>
Returns a new color palette derived from this one; containing the number of colors defined by newLength.
convertTo(ColorSpace colorSpace) List<ColorModel>
Returns a new list containing the colors of this iterable converted to the defined colorSpace.
getColorAt(double delta) ColorModel
Returns the color at delta by interpolating between the colors in the list.