title: Change Text Color after 50% height at 175deg
body: <p>I am changing background color after 50% height with 175deg angle.So, I want the text color to become white, when the background-color is blue. <a href="https://jsfiddle.net/h7jhcbm0/3/" rel="nofollow noreferrer">Fiddle</a></p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.bg {
        background: linear-gradient(175deg, #e2e2e2 50%, #435289 50%);
        color:#000;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="bg"&gt;
  &lt;h1&gt;
   Hiii, My Name is John, I love Stackoverflow. I really don't know, how to do this, Can someone help me? If Background = Blue, Text Color = White
  &lt;/h1&gt;
    
  &lt;/div&gt;
  
  
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>