1. Dashboard -> Products -> Attributes -> Color -> Configure terms;
2. Enter each Variable and set сolor or image which will be shown as a swatch;
3. Navigate to Theme Settings > Shop > Attribute swatches > choose pa_color (your color attribute) and set “Use images from product variations”