This task can be performed using Textilecolorseparation
Textile Color Separation
Best product for this task

Textilecolorseparation
remote-tools
Pipeline treatment for Color Separation and Reduction for Surface Pattern Design.

What to expect from an ideal product
- Color count reduction while keeping the design's key features and style intact
- Automated separation of overlapping colors in complex patterns
- Smart merging of similar shades to simplify production requirements
- Pattern cleanup and optimization for textile printing processes
- Quick conversion of multi-color designs into production-ready color formats