diff --git a/src/plugins/projectexplorer/outputwindow.cpp b/src/plugins/projectexplorer/outputwindow.cpp
index 9c0dc008e9aec71decc5954f13040b930621be46..875594e68a54b186a1f370b20b0e679b2e1e7233 100644
--- a/src/plugins/projectexplorer/outputwindow.cpp
+++ b/src/plugins/projectexplorer/outputwindow.cpp
@@ -415,6 +415,10 @@ void OutputWindow::appendOutput(const QString &out)
         s.chop(1);
     }
     setMaximumBlockCount(MaxBlockCount);
+
+    QTextCharFormat format;
+    format.setForeground(palette().text().color());
+    setCurrentCharFormat(format);
     appendPlainText(out);
     enableUndoRedo();
 }
@@ -447,6 +451,9 @@ void OutputWindow::appendOutputInline(const QString &out)
             m_enforceNewline = true;
             s.chop(1);
         }
+        QTextCharFormat format;
+        format.setForeground(palette().text().color());
+        setCurrentCharFormat(format);
         appendPlainText(s);
     }