how do i change font color

I am using draw_text_ex to draw my text and I have tryed to use change_color(knockout_color) and Font.default_color = knockout_color and I cant seem to get either one to work. Is there another way to do it?
Because the very first line of draw_text_ex is this:

reset_font_settingswhich converts the colour to normal_color.
Depending on your circumstances, it might just be easiest to duplicate that function and rename it (draw_text_ex2) and either omit the reset_font_settings call, or copy in the lines from that function that you do want to use. Then use your almost-identical function instead.
Thank you Shaz.
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-change-font-color.15179/