Dyeing
Color Tinting allows you to make cosmetics where the user can choose which color they want it to be while wearing it by using the customization menu or the /cosmetic dye command.
To use this feature, the cosmetic must be either a colorable item type (such as leather armor, leather horse armor, or potions) or be generated with an item definition that allows coloring.
Then you can simply add Colorable: true to the cosmetic's configuration file to make it colorable, and Color: '#FF0000' to set the default color.