How to switch the default text color using switches or variables. What should I do?

I want to change the style of the message box according to the map. Accordingly, I want to change it to a highly readable font color, but I don't know how to do it. If possible, I would like to be able to switch the font as well. How shall I do it?
If you just want to change the window colour, you can use the event command "change window colour". The font colour can also be changed by using the text code \c[n], where n is the index of the colour in your img/system/Window.png file. Actually changing the windowskin will probably require a plugin, not sure if there's any out there that do it dynamically though.

If you want to change the font, you'll need plugins for that, such as Yanfly's load custom fonts and message core plugin.


If you just want to change the window colour, you can use the event command "change window colour". The font colour can also be changed by using the text code \c[n], where n is the index of the colour in your img/system/Window.png file. Actually changing the windowskin will probably require a plugin, not sure if there's any out there that do it dynamically though.

If you want to change the font, you'll need plugins for that, such as Yanfly's load custom fonts and message core plugin.


Thank you for your kind reply! I think it will be difficult to realize unless I build the plug-in myself or change it every time. I'll try! Thank you again.
The text color is based off of the color selections in the windowskin (img\system\Window.png) - the blocks in the lower right section. The first one is the default text color.

If you use a plugin that allows you to change windowskins, you can simply have that color block be a different color in the different windowskins.

Here's an example:

Original thread: https://forums.rpgmakerweb.com/threads/how-to-switch-the-default-text-color-using-switches-or-variables-what-should-i-do.163509/