tetradic property
Returns the four colors of a tetradic (square) color scheme.
Implementation
List<Color> get tetradic {
final hsl = HSLColor.fromColor(this);
return [
this,
hsl.withHue((hsl.hue + 90) % 360).toColor(),
hsl.withHue((hsl.hue + 180) % 360).toColor(),
hsl.withHue((hsl.hue + 270) % 360).toColor(),
];
}