How do I change back color of the Display Name:?

I use a black text on my game.  Because of that, dark back colors during my windows don't work so well.


I was able to change the back color for my battle log by using this script:


Window_BattleLog.prototype.backColor = function() {


         return '#ffffff';


};


I was hoping someone knew how to use a similar script to change the back color of the Display Name: in the Map Properties General Settings.
Go to the rpg_windows.js


Window_MapName.prototype.drawBackground = function(x, y, width, height) {
    var color1 = this.dimColor1();
    var color2 = this.dimColor2();
    this.contents.gradientFillRect(x, y, width / 2, height, color2, color1);
    this.contents.gradientFillRect(x + width / 2, y, width / 2, height, color1, color2);
};


change the color1 and color2 to the colors you want.
Go to the rpg_windows.js



Window_MapName.prototype.drawBackground = function(x, y, width, height) {
    var color1 = this.dimColor1();
    var color2 = this.dimColor2();
    this.contents.gradientFillRect(x, y, width / 2, height, color2, color1);
    this.contents.gradientFillRect(x + width / 2, y, width / 2, height, color1, color2);
};


change the color1 and color2 to the colors you want.



Thanks Victor.  Appreciate it.

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-change-back-color-of-the-display-name.55884/