inverted property

Color get inverted

Implementation

Color get inverted {
  return Color.fromRGBO(
    (255.0 * (1.0 - r)).round(),
    (255.0 * 1.0 - b).round(),
    (255.0 * 1.0 - b).round(),
    a,
  );
}