Using the Replace Color effect, right? This is how I did it:
[attachment=1:1sbl4uau][/attachment:1sbl4uau]
I have the 3 Replace Color effects on it, one for each color, and the R,G,B Source is already set to the default colors of the sprite.
I also have the palette values on a CSV table, that's the whole bold part of the event, getting the correct color from the CSV
And this is the result:
[attachment=0:1sbl4uau][/attachment:1sbl4uau]