splitComplementary property
Returns the two split-complementary colors (150° and 210° from this hue).
Colors.blue.splitComplementary // [Color, Color]
Implementation
List<Color> get splitComplementary {
final hsl = HSLColor.fromColor(this);
return [
hsl.withHue((hsl.hue + 150) % 360).toColor(),
hsl.withHue((hsl.hue + 210) % 360).toColor(),
];
}