I'm new to posting so if it's not entirely correct what I'm doing don't shoot me on sight

I have a question: is there any way to swap 2 colors into a palette using the palette editor, for example?
I need to swap for example color_0 with color_128 in an indexed bitmap.
Of course, I can quickly write a program that does it, it's not complicated, but I need this information for somebody who's not a programmer.
Thank you very much,
Dragos Iftimi.