MZ How do I modify or remove the grey boxes on each battle portrait and menu button?

Screenshot 2021-08-11 174241.png

Specifically, I want to tint the boxes around the battle portraits / battle menu commands brown, see if I can apply my own windowskin-esqe texture, or just remove them altogether.

As it stands, they seem to have a slight bluish tint, which doesn't work for my windowskin.
👋 These background rectangles appear in all of RMMZ's selectable windows and their colours do not reference the window skin:
The selectable item background rectangles reference two colours from the ColorManager:
  • itemBackColor1 - upper gradient colour and rectangle border;
  • itemBackColor2 - lower gradient colour.
You can override these colours with a plugin that lets you configure the ColorManager, e.g. VisuStella Core Engine or my own Cae_MenuDisplayOpts~

Alternatively, you can put these methods in a .js file, edit the numbers, and import as a plugin:
JavaScript:
ColorManager.itemBackColor1 = function() {
    return "rgba(32, 32, 32, 0.5)";
};

ColorManager.itemBackColor2 = function() {
    return "rgba(0, 0, 0, 0.5)";
};
If you want it totally transparent, try a value with 0 alpha, e.g. rgba(0,0,0,0).
👋 These background rectangles appear in all of RMMZ's selectable windows and their colours do not reference the window skin:
The javascript code worked perfectly, thanks.

I guess that means this thread is closed. Too bad it'll be a lot harder to add a custom texture to it, but being able to remove it is a good start.
Moved to: Plugin Requests

Thread closed

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-modify-or-remove-the-grey-boxes-on-each-battle-portrait-and-menu-button.139503/