How to change Text color?

Hi all!

Im doing a bit of coding for the scene_battle, and when I want to draw a variable that contains text, I can draw it but I dont know how to change the color of that text.

Can you point me on the right direction?

thanks!
@Magusalfador For a window, you can use the 'changeTextColor' function in combination with various other color functions ('normalColor', 'systemColor', etc) or grab a color from the windowskin directly using the 'textColor' function.

Code:
this.changeTextColor(this.normalColor());
this.changeTextColor(this.textColor(11));

Or you can directly change the color of the font using any valid CSS color.

Code:
this.changeTextColor('#ff0000');
this.changeTextColor('rgb(255,0,0)');

Original thread: https://forums.rpgmakerweb.com/threads/how-to-change-text-color.114023/