Texture a Sprite Animation "Skeleton"

Hi, so basically I have made a “skeleton” of all the animations that characters should have in my game (walking in each direction, an idle, etc). I don’t want to have to redo all of them for each character, so I was wondering if there was a way to “texture” this skeleton depending on the character. Eg. the characters all have a skin colour property and a clothing colour property, the “skeleton’s” clothing is green, so if the character has a blue as the clothing colour property then it would change the colour of all the clothing to be blue, and if the skin colour property is a shade of brown, eg C68863 and the “skeleton” has E0AB8B then the character would change all the E0AB8B to C68863. Is this possible?

Resolved: I have found a way to do this using shaders