There is a new feature that you can find in the recent release of D635 called product nomenclature. This is handy for creating a number pattern for how you want to number you variants either color, size, style and configuration. It will allow you to use the product master number, variant, text and a number sequence to create a pattern for your you want to number the variants.
Here is a quick overview.
D365FO 1611 – Update3 (7.0.4307.16141)
Cheers
Lachlan