method to tell if image is a solid color