Variants
Create a list of variants as per your needs. Different variants of colours, sizes, etc. The variants will help you define the garments in a sequence. While adding inventory items, you can select different variants, such as any colour, size, or price.
Go to Setup, Inventory Setup and then Variants

Enter the variant name. If you set a color name in the variant name then in the sub-category, add various color names. You can add multiple sub-categories by clicking the plus sign.