title: How to compare Color object and get closest Color in an Color[]?
body: <p>Let's say I have an array with colors (with the whole color spectrum, from red to red.). A shorter version would look like this:</p>
  
  <pre><code>public Color[] ColorArray = new Color[360] { Color.FromArgb(255, 245, 244, 242), Color.FromArgb(255, 245, 244, 240), Color.FromArgb(255, 245, 244, 238) }
  </code></pre>
  
  <p>Now if I have a seperate</p>
  
  <pre><code>Color object (Color c = Color.FromArgb(255, 14, 4, 5))
  </code></pre>
  
  <p>How can I get the value in the Array that is the closest to the selected color? And is this even possible?</p>