How do I add two colors swatches
In your shopify Admin panel, under THEMES & SETTINGS section in the left sidebar menu, click on the "Swatches"
Now you can see "Option Display" section.
In this option fields, you can see the "Two colors". Just select this.
After selecting all, the output will be...
Select any colors in the new field as mentioned above. After selecting second color in the new field, Then two colors shown you in the Swatch Name section.
Once you done with all the settings. Click "Save" button.