Add filters to your catalog to make it easy for your customers to explore your products.
Simply, navigate to Appearance → Widgets and drag your filter widgets to the Shop Sidebar position.
Custom the Shop Sidebar
(One widget per attribute to filter. Add attributes to your shop page to make it work)
First, add your color attributes in Products → Attributes and assign that color attributes to your products.
Go to Appearance → Widgets and add the Nasa Product Attribute Filter
Select the Attribute and Display Type. In Attributes List and Button display each color with its name. Select shows only the color.