added paletteArray option which allows to specify font colors