title: jQuery: Change text color based on containing element's background color?
body: <p>I want to change the text color of an element based on the element's background color.</p>
  
  <p>For instance, if the background color is changed to black, then make the text white. If the background color is changed to white, then make the text black.</p>
  
  <p>It'd be a bit more complex than than that though as the user can change the background color to whatever they'd like.</p>
  
  <p>I found some random articles about <a href="http://www.bennadel.com/resources/demo/text_by_background/" rel="noreferrer">handling it on the backend</a>, but nothing using javascript (or better yet, jQuery).</p>