I want to generate custom item code for my Item

I have custom fields like:
Color1, Color2, Color3, Theme (Dropdown), Event (dropdown), year, Construction,
Descriptive, size.

The field with a drop-down item should have a specific value in the item code.

Can someone help figure out how can I code this thing up?

Did you look into the:

documentations in the ERPNext Manual? Item Variants will help here. Try to explore the documentation links above. Try to fit your scenarios with the default functionality of the system.

Regards,

Parth Joshi