Make grey background while using HDRI for renders
The best way is to use film-&gt;transparent.
Now go into compositing section and click on use node.
Add an alpha over node before output node and chose your desired color.
This way,the render will use the HDRI and then make background as chosen in the apha over node.
Also,if your entire render comes as single color,try switching the color inputs of alpha over node