title: Progress bar with dynamic text & text color update
body: <p>I've a progressbar whose text changes dynamically. I want to update the appearance of it such that as soon as progress comes over text then text color should update. Something like this. <img src="https://i.stack.imgur.com/14C6l.png" alt="enter image description here"></p>
  
  <p>I need text color of text (black) appearing above blue background should automatically change to white. However text having white background should remain black.</p>