Hello,
1. Dashboard -> Products -> Attributes -> Color -> Configure terms;
2. Enter each item and set “Enable swatch”;
3. Configure the variable product with the color attribute, insert an image into each variation;
4. Navigate to Theme Settings > Shop > Attribute swatches > choose pa_color (your color attribute) and enable “Use images from product variations”
5. Use images from product variations – means that instead of colors attribute swatch will take featured images set for each variation.
You can also view this video tutorial: https://xtemos.com/docs/woodmart/variable-products-swatches/
Best Regards