Hey, thank you for your feedback. Yes totally it should be like masks it could be previsualised with a color by mask. I could even implement a cluster algorithm to automatically create them.
Thank you for your idea !
Else if it's just about color swap there is matching palette (it's just under indexation) you can put a palette which replace the colors based on the indexation palette color index