Index: /trunk/src/VBox/ValidationKit/testmanager/webui/wuihlpgraphsimple.py
===================================================================
--- /trunk/src/VBox/ValidationKit/testmanager/webui/wuihlpgraphsimple.py	(revision 65131)
+++ /trunk/src/VBox/ValidationKit/testmanager/webui/wuihlpgraphsimple.py	(revision 65132)
@@ -85,4 +85,7 @@
                 sValue = escapeElem(oRow.asValues[j]);
                 sColor = self.kasColors[j % len(self.kasColors)];
+                sInvColor = 'white';
+                if sColor[0] == '#' and len(sColor) == 7:
+                    sInvColor = '#%06x' % (~int(sColor[1:],16) & 0xffffff,);
 
                 sReport += '        <tr><td>\n' \
@@ -90,13 +93,15 @@
                            '            <tr>\n';
                 if cPct >= 99:
-                    sReport += '              <td width="%spx" nowrap bgcolor="%s" align="right">%s&nbsp;</td>\n' \
-                             % (cxBar, sColor, sValue);
+                    sReport += '              <td width="%spx" nowrap bgcolor="%s" align="right" style="color:%s;">' \
+                               '%s&nbsp;</td>\n' \
+                             % (cxBar, sColor, sInvColor, sValue);
                 elif cPct < 1:
                     sReport += '              <td width="%spx" nowrap style="color:%s;">%s</td>\n' \
                              % (self.cxMaxBar - cxBar, sColor, sValue);
                 elif cPct >= 50:
-                    sReport += '              <td width="%spx" nowrap bgcolor="%s" align="right">%s&nbsp;</td>\n' \
+                    sReport += '              <td width="%spx" nowrap bgcolor="%s" align="right" style="color:%s;">' \
+                               '%s&nbsp;</td>\n' \
                                '              <td width="%spx" nowrap><div>&nbsp;</div></td>\n' \
-                             % (cxBar, sColor, sValue, self.cxMaxBar - cxBar);
+                             % (cxBar, sColor, sInvColor, sValue, self.cxMaxBar - cxBar);
                 else:
                     sReport += '              <td width="%spx" nowrap bgcolor="%s"></td>\n' \
