How to set the foreground colour with sprite spriteWithText

I am trying to use the sprite spriteWithText helper method to draw some static text on a help screen. However I need the background to be black and the foreground to be white.
How do I do this?

I see that there is an option to set the background color (gfx.kColorBlack), does this also set the foreground?

Do I need to do something with

Thanks in advance

Here are a couple of options:

  1. Pass into
  2. Get the sprite's image, invert the image, and set the sprite's image to that inverted image.

A more straightforward way might be to set the graphics image draw mode to inverted before creating the sprite, and using a black background for the sprite.