Change color of loading page in Safari
It is not possible to customize the color of loading page in Safari. However you can enable dark mode by going to System Preferences app → General → Appearance to change from white to dark gray color for the loading view.

The dark mode however will get applied system wide and not just to Safari.