inverse property

  1. @override
CSSColorHEX get inverse
override

Implementation

@override
CSSColorHEX get inverse {
  var r = clipNumber(255 - red, 0, 255);
  var g = clipNumber(255 - green, 0, 255);
  var b = clipNumber(255 - blue, 0, 255);
  return CSSColorHEX._(r, g, b);
}