Changing a image color

Hey all,
I have a couple images and I want to randomly change one color on it.
Does SDL have a function that is kind of like SDL_SetColorKey and SDL_MapRGB
to accomplish this? Or can they do this and I don’t know how. Can I make
them change a blue to a green? Thanks for your help!