title: Invert Text Color depending on BackColor
body: <p>I have a <code>ProgressBar</code> control like the following two:</p>
  
  <p><a href="https://i.stack.imgur.com/qHOjg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qHOjg.png" alt="enter image description here"></a></p>
  
  <p>The first is painted properly. As you can see, the second only has one 0, it's supposed to have two but the other cannot be seen because ProgressBar's <code>ForeColor</code> is the same as the <code>TextColor</code>. Is there a way I can paint the text in black when the <code>ProgressBar</code> below is painted in Lime and paint the text in Lime when the background is black?</p>