MZ Changing Black screen color

Hello everyone !
I am stuck on a little something : I would like the game to have a specific color instead of going pure black during transition, loading, etc... In short : I don't want pure black in my game.

I was able to edit index.html to do that, but unfortunately, it only affects borders
(see picture. Left/Right are the wanted color)

Spoiler
1678700526334.png
I looked here and there in the js files as well but to no luck.

Any ideas to how to achieve that ?
Thanks !
depends on where and what you want to change, the required parts are scattered through different positions.

one step should be the windowskin picture - that contains the color paletter which defines what color is assigned to what number (color numbers for text and similar).

Then somewhere in the engine code are definitions of what color number is to be used for what part of the menu/displays.

Unfortunately the "fade to black" probably uses neither - you'll have to completely reprogram that effect by an override - I think the original goes into the pixi.js subengine, but I have even less knowledge about that than about the main engine.
This may come handy, there is info about CSS loading file:
This may come handy, there is info about CSS loading file:

Thank you, but that's unfortunately what I already used and while it let me customize the laoding part, it has no effect on the background screen :c

Unfortunately the "fade to black" probably uses neither - you'll have to completely reprogram that effect by an override - I think the original goes into the pixi.js subengine, but I have even less knowledge about that than about the main engine.

Oh pixi.js ? I have to admit I don't think I looked up that one. Only the rmmz ones. I will take a look !
Thanks for the info.

For the windowskin part. Does it really have an impact outside of text boxes ?
I'm gonna try anyway, but if there is more i don't know about it, do tell 😀
Unfortunately the "fade to black" probably uses neither - you'll have to completely reprogram that effect by an override - I think the original goes into the pixi.js subengine, but I have even less knowledge about that than about the main engine.

Thanks !
I was able to find what wanted there, indeed ! I changed all black screen color code by the one i wanted.
There is only a little bit left I can't find which happens after the loading is done (see gif).
However, I unfortunately don't know where this one is.
So close !

Spoiler: Gif
nw_PyJ2raTVx8.gif

UPDATE :
Fixed, it was actually an event problem of this last part !
There was a tint screen <.<

Thank you very much to both of you !

Original thread: https://forums.rpgmakerweb.com/threads/changing-black-screen-color.155773/