I want to allow players to change a character's hair and clothing styles, and select colors for them. This means I need to have separate styles for said hair and clothing, and have the game put them together, then change the color values based on the player's selection and keep those color values unless the player decides to change their selection later.
Am I going to need separate sprite sheets with all the possible style combinations, or can it overlay the sprites on top of each other and treat it as a single sprite, which would let me have hair styles and clothes in separate sprite sheets from the main sprite for easy switching?
Also, how do I get it to change the colors based on the color values of the pixels? For example, lets say I have a base sprite that uses RGB 150,150,150 for normal parts of the sprite, and 100,100,100 for parts that are supposed to be darker, like say the leg further away from the player when the sprite is walking. A player selects purple for the clothing color, so I want the sprite to be changed so the first color is 120,40,120 and the second color is 100,20,100. How do I get it to do this?