2D character creator?

Hi, just looking for some basic info, or at least a place to start looking. I curious to make a way for players to customize a 2D character a little bit, along the lines of like Terraria. Just a few color option and a few hair options? Any info would be appreciated thank you in advanced.