Check if the best contrast for an image is black (or white)