added color function

changes background color when image is dropped