title: How to change font color based on background color using reactJs
body: <p>I have dynamic background of my container it will change by User so I need to set text color based of background color eg, I set black background of my container then i need to set white color for text, 
  I am using ReactJs and material UI library for my App, please suggest some good path.</p>