change the foreground and background to the reference image keep all colors and geometry the same