--fg-colors=<1-4000>
Sets the maximum number of distinct foreground colors in the resulting DjVu® file. The default is 256. This enables better quality control and smaller file sizes when working with a document with a large number of colors.
Example
pdftodjvu
--fg-colors=2000 document.pdf [document.djvu]