How does the background picture of a dashboard work?

Is the picture tiled or expanded?
Are all formats that a browser supports possible?
jpg, png, gif? (apparently only jpg?)

I would have preferred the ability to specify a background color (e.g. black for a dark mode) but as a default, using a black picture should do as well.

Thank you for explaining.