Better color replacement methods

Hi! Would it be possible to make the color replace effect perform better? It’s fine on pc but I tested my game on mobile and if there’s more objects the fps drops significantly. I don’t want nothing crazy just a nice way to use this effect for things like palette replacement for pixel art.
Cause right now if I want to replace 3 shades of a color I need to use 3 effects which is kinda heavy I think.

I’ve also tested the recolorizer extension but it seems to freeze my game for a short period of time and it lags my game too.

So I think new color replacement methods would make life easier for a me and a lot of other pixel art devs.

Have you tried the color map effect?
https://wiki.gdevelop.io/gdevelop5/interface/scene-editor/layer-effects/#color-map

Hey! I tried it out but honestly it seems pretty limited. For example if I want to replace this color “FF0000” - pure red, to this “0000FF” - pure blue, I have to make a color map file for that. If I want to replace it to pure green, then another color map file. Purple? Another color map file. Yellow? Another color map file. At least that’s how I understand it works. So yeah I’ll probably still be looking for some other solutions, but I can see it being a great tool in most cases.