Colour error if connected to a terminal.