The thing with such delays is that they're different for each user. Some type fast, and others type slow. As a note, Eclipse works the way Stephane describes.
What I like more than a different color is an underscore line, not just for coding, but like the one in the spellcheckers. It gets your attention better (or mine at least), and is the most common way of telling the user something is not recognized. Regards!