How the gradients in rpg maker generator works

Hi, I want to know how gradients in rpg maker mv generator works (or rather extended generator), since I do plan making few custom clothes for template that I current use and want to know if the color I use at the beginning does matter not (shortly speaking how many colors are in my palette) and how to find those colors which can I use?

Or maybe can someone post me a code from generator which is used to change color of characters?

thanks for answer
dullman
If your using the external generator then the initial color of your clothes and stuff don't matter.
To have it change appropriately with the gradient you just have to go to change gradient and see what color are used for said part and part sections.
This way you can make sure that certain details can be changed to a different gradient, rather then the whole piece being one solid color.

Original thread: https://forums.rpgmakerweb.com/threads/how-the-gradients-in-rpg-maker-generator-works.117061/