Change Black default background to white

Hello there, can someone tell me how to change the BLACK default background (for example in an empty map) to white?
I mean change it permanently, wich string i need to modify and where?
Thank you
Hi there!
I believe you can add this as a plugin:

JavaScript:
{

const ScreenSprite_initialize = ScreenSprite.prototype.initialize
ScreenSprite.prototype.initialize = function () {
    ScreenSprite_initialize.call(this)
    this.setWhite()
}
    
}

It is the ScreenSprite class located on the rpg_core.js(1.6.2) on line 6145.
thank you very much!
One more thing: if you intend to have your game playable in full screen, then you might still have a black border if your screen's aspect ratio doesn't match the game's resolution's aspect ratio.

For example, the default resolution for MV games is 816x624 pixels, which represents an aspect ratio of roughly 13:9. However, most gamers use a resolution of 1920x1080 or 2560x1440 or 3840x2160, which represents an aspect ratio of 16:9. As a result, the left and right side of the screen would remain black.

If you want that part to be white as well, you'll need to edit the index.html file. Simply search for the following line:
HTML:
<body style="background-color: black">
and change "black" to "white".

Alternatively, you can add the following line of code to your plugin:
JavaScript:
document.body.style.backgroundColor = "white";

I personally recommend adding this to the plugin, rather than editing the index.html file. That way you can more easily reuse this for another project, rather than having to remember that you needed to edit the index.html as well.
thanks Nolonar

Original thread: https://forums.rpgmakerweb.com/threads/change-black-default-background-to-white.140033/