title: Find darkest color in image with python
body: <p>I was just wondering you could find the darkest colour in a greyscale image with python. I would prefer using pillow but OpenCV would be fine.
  I found <a href="https://mail.python.org/pipermail/image-sig/2009-April/005634.html" rel="nofollow noreferrer">this</a> but couldn't make sense of it.
  If this is simple just say.</p>
  
  <p>Thanks</p>
  
  <p><br></p>
  
  <p>** edit **</p>
  
  <p>The issue that I have is that with the rest of the script the darkest colour is very unlikely to be black.</p>