make colors to match the selected image with real colors