diff --git a/sohstationviewer/view/plotting/time_power_square/time_power_squared_dialog.py b/sohstationviewer/view/plotting/time_power_square/time_power_squared_dialog.py
index 085e4833935a7413e7a05c49f09fa6ecd8a58682..8d29e2299d59075b011ded0bd69a6a5a9c7244e2 100755
--- a/sohstationviewer/view/plotting/time_power_square/time_power_squared_dialog.py
+++ b/sohstationviewer/view/plotting/time_power_square/time_power_squared_dialog.py
@@ -298,6 +298,9 @@ class TimePowerSquaredDialog(QtWidgets.QWidget):
             key, tab_name, self, self.info_text_browser,
             'TPS', self.main_window
         )
+        # We need to set the colors of the TPS widget when it is created,
+        # otherwise it will default to black.
+        tps_widget.set_colors(self.main_window.color_mode)
         self.plotting_tab.addTab(tps_widget, tab_name)
         self.tps_widget_dict[tab_name] = tps_widget
         if tab_idx > 0: