Setting: From your admin, click to Online Store -> Themes -> Product -> Color swatches
Select color swatches type : text
Selector type: text
Note: Setting applied to variants other than variant color