Convert iamge color using contrast