Is there a way to reset window color when going to title screen?

I want to change the window color during a certain section of the game, but if you quit the game and go to the title screen during that part, the title screen is also affected by the window color change. Is there a way for it to be reset to default when you go to the title screen?
If you are modifying directly in this way, when you actually return to the title screen it will not reset itself:
JavaScript:
$dataSystem.windowTone = [0,255,0]

The correct thing to do is to record the initial value in some way and call that value on the title screen, I haven't made plugins in a long time and I really don't remember the best way to do this, but I tested it and it worked the way you need it, just create a plugin with this code and activate it in the manager in your project:
JavaScript:
(function() {
    const ST_start = Scene_Title.prototype.start;
    Scene_Title.prototype.start = function() {
        ST_start.call(this);
        if(typeof(Scene_Title.windowTone) != "object") {
            /* Memorize default */
            Scene_Title.windowTone = $gameSystem.windowTone();
        } else {
            /* Reset to default */
            $dataSystem.windowTone = Scene_Title.windowTone;
        }
    }
})();

Original thread: https://forums.rpgmakerweb.com/threads/is-there-a-way-to-reset-window-color-when-going-to-title-screen.177112/