If you have say, a background and and want to make it match a colour in a photo, just open the background, open the photo, drag the photo onto the background then keeping the background selected, go to Effects/fill with colour or texture/other solid colour choices. Use the eyedropper to select the colour you want from the photo.
