I recommend to check the code: all colors used for painting are taken from the current palette.

Uwe