How to change text color when using blenders blf module

I’m using the blf module to write text to the screen but the documentation doesn’t have any functions for changing the color. Is there a way to do this or does your text have to stay black?

It’s not really obvious, but you need to use the bgl module and one of the glColor methods prior to the draw call…

Thanks for the quick response, I did see that but I’m not sure how to get it to work. Could you give me a quick point in the right direction?

Nevermind, for some reason bgl.glColor3f, wasn’t working but changing my import statement to “from bgl import *” and just using glColor3f worked:) Thanks for the help!