How to set up custom palette colors?

The color palette in LightBurn is fixed and limited to 30 entries because of hardware limitations with DSP controllers, and some internal limitations in the software because it was originally designed for those machines.

What would your maximum layer count be for a file?