Better inverse-color formula