[SOLVED] How do I change the currency color in my menu? (currency symbol)

Hello!
I'm using RPG Maker MZ and I want to change the color of my currency that can be seen in my menu screen (the little G), not the value color, just the symbol color.
I search in the .js file but I didn't find where that can be changed...

Thanks in advance!
By default, it's drawn using the "system color" which is color 16. You can copy the below into a text editor, save as a *.js file, and include as a plugin:

Code:
Window_Base.prototype.drawCurrencyValue = function(value, unit, x, y, width) {
    var unitWidth = Math.min(80, this.textWidth(unit));
    this.resetTextColor();
    this.drawText(value, x, y, width - unitWidth - 6, 'right');
// Change the next line
    this.changeTextColor(this.textColor(16));
    this.drawText(unit, x + width - unitWidth, y, unitWidth, 'right');
};

Change the 16 in parentheses to be whichever color you want.
Thanks! I tried your solution but I got this error:

error rpg maker mz.png
as you posted in MV while you use MZ, the code didn't work as it's slightly different

JavaScript:
Window_Base.prototype.drawCurrencyValue = function(value, unit, x, y, width) {
    var unitWidth = Math.min(80, this.textWidth(unit));
    this.resetTextColor();
    this.drawText(value, x, y, width - unitWidth - 6, 'right');
// Change the next line
    this.changeTextColor(ColorManager.textColor(colorIndex));
    this.drawText(unit, x + width - unitWidth, y, unitWidth, 'right');
};
change colorIndex to the number you want.
...I was confused by you posting this in the wrong section.

Your first post does say you're using MZ, but you posted this in MV support so I gave you code for MV.

The correct code for MZ is:
Code:
Window_Base.prototype.drawCurrencyValue = function(value, unit, x, y, width) {
    const unitWidth = Math.min(80, this.textWidth(unit));
    this.resetTextColor();
    this.drawText(value, x, y, width - unitWidth - 6, "right");
    this.changeTextColor(ColorManager.textColor(16));
    this.drawText(unit, x + width - unitWidth, y, unitWidth, "right");
};
Oh my bad! It's working perfectly, thanks a lot!
This thread is closed due to being marked as solved. If you need it reopened, report the thread to let us know. Thank you!

Original thread: https://forums.rpgmakerweb.com/threads/solved-how-do-i-change-the-currency-color-in-my-menu-currency-symbol.172562/