Workflow
Set Background color, then adjust Gap and Outer margin. Turn off Transparent background so the chosen color appears in the export.
Choose a color that connects the photos
Pick a background from a color already present in several photos. A light neutral can work when the set includes both bright and dark pictures.
Use the gap to decide how much of that color you see. A narrow gap keeps the focus on the photos, while a larger one makes the background part of the design.