I've just updated the docs, but it turns out that if you leave out the last argument it just defaults to using the foreground color so you can use setColor first if you need to.
I guess there should really be a 'toColor` function to make the process easier
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I've just updated the docs, but it turns out that if you leave out the last argument it just defaults to using the foreground color so you can use setColor first if you need to.
I guess there should really be a 'toColor` function to make the process easier