Possible to change font color based on variables?

So, I just had an odd thought and not quite sure if it's possible, buuuut is there a way (or a script somewhere?) to change a character's font color based on a variable amount (or really anything, like a status, skill, class, etc)? It doesn't have to be a variable, of course, since I can always make an adjustment on the states.

For example, I'm using variables for emotional states (mood, anger, etc) and was thinking that if, say, mood was -50 then the font color could change to blue for a specific character. And/or when Anger goes to 50 then it'll go from blue to red, etc.
Moved to: RGSS3 (VX Ace) Script Requests

Original thread: https://forums.rpgmakerweb.com/threads/possible-to-change-font-color-based-on-variables.140736/