How do you change the background color of the 3D viewport?
To change the default background color, it's in the Preferences as explained here.
To change the file's background color you need to display the Viewport Shading panel, choose Background &gt; Viewport instead of Theme, and change the color below.