Invert the RGB channels (alpha preserved).
static int invert(int color) => argbToInt( alpha(color), 255 - red(color), 255 - green(color), 255 - blue(color), );