How to change the color of menu windows?

I'm trying to change the dark gray shade behind the menu options to purple to match the purple and yellow color scheme I use throughout the UI.

Here is an example with the menu plugins that I use (Moghunter's menu plugins and VisuStella Core, Skills and States Core and Elements and Status Core.) The dark gray stands out too much against the background I set, and I'd like to either change the color or even not have any color there at all.
Change Menu Option Color with Plugins.jpg


Here is an example after I turned off all the plugins I use. Notice that the dark gray background persists, so it isn't a plugin issue.
Change Menu Option Color.jpg


This seems like something that should be easy to change, and at first it felt like a noobish question to ask. However, after an hour or so of trying different things, I can't figure out how to change or remove that dark gray color. I didn't see anything under System settings or anywhere else that lets me change that part of the UI. Does anyone have any idea where in the settings that option is?
I think the command backgrounds come from window selectable drawItemBackground which uses drawBackgroundRect. Change it for the windows menucommand and menustatus I think.
Here are a couple of different answers:
  1. Skip drawing it:
    save this as a .js file and add it into your project as a plugin at the bottom of the list
    Code:
    Window_ItemList.prototype.drawBackgroundRect = function(rect) {};
  2. Change its colour:
    👋 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).
Here are a couple of different answers:
  1. Skip drawing it:
  2. Change its colour:
The second option worked! Thank you! I'm baffled that isn't something that is a hard-coded option within RPG Maker. It really feels like it should be.

My menu looks vastly better without those boxes. I still kept them on the Status page (to make it easier to read the text) using VisuStella Elements Core. I also made the outline on the type a little more pronounced with VisuStella Core. Now it's readable against the beige of the pages and also against purple backgrounds in other areas of the game.

If I had to nitpick something, I would have the character portraits on the right page, but that would be a massive pain to configure and I feel like there would be far too much empty space on the left page that way. I'm pretty satisfied with this new layout! :LZSgrin:

Menu without Transparent Boxes.jpg
Great, you're welcome!

(As an aside: I notice you're using the fallback font, Times New Roman. If that is not intentional, as a placeholder or otherwise, then you may have specified an invalid font, e.g. on the System 2 tab and/or in one of your plugins.)

I'm baffled that isn't something that is a hard-coded option within RPG Maker. It really feels like it should be.
Yep. Personally I've been answering variations of this question for years. 😅

I still kept them on the Status page (to make it easier to read the text)
Yes, I think that's the main reason they exist: to improve contrast and make sure things are readable. They might also be a UX consideration, since the core scripts omit them for non-selectable lists.
Great, you're welcome!

(As an aside: I notice you're using the fallback font, Times New Roman. If that is not intentional, as a placeholder or otherwise, then you may have specified an invalid font, e.g. on the System 2 tab and/or in one of your plugins.)


Yep. Personally I've been answering variations of this question for years. 😅


Yes, I think that's the main reason they exist: to improve contrast and make sure things are readable. They might also be a UX consideration, since the core scripts omit them for non-selectable lists.
I have the main font and number font set to Times New Roman and the fallback font set to Verdana. Ideally, I'd like to use Bell MT, which is a prettier but still very practical serif font, but I can't get it to work, even though it is a .ttf file and I have it in the Fonts folder. If I set it as the main font and load the game, I immediately get an error message saying it failed to load from the fonts folder, as well as a message saying the font failed to decode if I press F8. I made sure the name is typed correctly (which is easy to do, since it's just "bell.ttf") so I know it's not a typo.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-change-the-color-of-menu-windows.178671/