title: How to pick good contrast RGB colors programmatically?
body: <p>Suppose, in your program:</p>
  
  <ol>
  <li><p><code>color A</code> is a color we randomly select</p></li>
  <li><p>Knowing <code>color A</code>, <strong>how can I pick a <code>color B</code> that will be in high contrast with <code>color A</code>?</strong></p></li>
  </ol>
  
  <p>The problem can be further reduced to: "imagine 2 squares filled with color next to one another. It should be <strong>unambiguously clear to a human eye</strong> that colors are not the same"</p>
  
  <p>Example:</p>
  
  <ul>
  <li>Black --> White</li>
  <li>Blue --> White</li>
  </ul>