MV Text Color Issue

Yo, I was messing with the img/system/Windows file as well as the in game font while doing some graphics tests and altering the color swatch palette, and accidentally made specific text in my game colorless. I'm not sure what exactly has caused this, but I'd love to see if anyone can help.

So far, it has only affected the color of certain Status screen text as well as in the SV battle text for HP and MP. I've attached screenshots of the text to show examples of what I mean (any of the text that is black was originally white, in these screenshots).

Is there a specific part of the img/system/Windows color swatch or file that corresponds to this text specifically, or is there another value that I've changed unintentionally? Would love to know what the root of it is so I could fix it or alter it for other purposes.

Text Issue 1.png
Text Issue 2.png
Yes, the color swatches at the bottom of the Window file correspond to several pre-programmed text colors.

If you don't know what color corresponds to what things in the game, or where to change them in the code, it's probably best not to actually change the colors in that file.

Better to identify the specific window and text you want to alter, then do it in a plugin.
That particular color is termed the "system color." MZ has ColorManager which neatly unifies how colors are defined in the base code, but MV seems to just define this color in Window_Base:

JavaScript:
Window_Base.prototype.systemColor = function() {
    return 'this.textColor(16)';
};

If you want to change that specific color via a plugin, you can use this snippet:

JavaScript:
Window_Base.prototype.systemColor = function() {
    return '#000000'; // your hex code here
};

That will overwrite the default color without needing to change the windowskin .png file.
The text colour used for "system" text (headings etc) is 16. The first swatch in the windowskin is 0: the numbering is the same as that used for the \c[n] text code.

In case it helps:
Looking through the code, it seems these are the default "special" colour IDs:
Spoiler
Code:
Normal:    0
System:    16
Crisis:    17
Death:     18
GaugeBack: 19
HpGauge1:  20
HpGauge2:  21
MpGauge1:  22
MpGauge2:  23
MpCost:    23
PowerUp:   24
PowerDown: 25
TpGauge1:  28
TpGauge2:  29
TpCost:    29
Explanation:
  • Cost colours are used for skill costs.
  • Gauges are shaded in a gradient from colour 1 to 2.
  • PowerUp & PowerDown are used for highlighting param changes, e.g. on the equip scene.
  • GaugeBack is for the "empty" background of gauges.
  • Death and Crisis are used for actor names when the actor is at 0% (dead) or 25% (dying) HP respectively.
  • System is the colour used for "headings" (pale blue by default), e.g. level/param names on the Status scene.
  • Normal is the default text colour.
Thank y'all for the help! The extra clarity will help for making any custom edits if I feel it fits.

Original thread: https://forums.rpgmakerweb.com/threads/mv-text-color-issue.160746/