Adjusting the contrast for the black and white