In Microsoft Office, grammatical errors are indicated by colored wavy lines. The red line indicates a misspelled word; the green line indicates a grammatical error; the blue line indicates a contextual spelling error.