Let’s start with some inspiring stats. 92.6% of shoppers claim that a specific color makes their main reason for making a purchase. So why not put this data to good use in your Magento 2 store?

This is what color swatches are for. In Magento 2, color swatches make a specific part of the color attribute. To put it simply, if you add them to a product, you can present a variety of color options to consumers, which potentially increases your chances of the purchase decision.

Color swatches are available both in native Magento 2 and in the modules produced by vendors. We’ll discuss the two options.

So let’s dive in.

How to add color swatches in Magento 2

Enabling Color swatches in native Magento 2 boils down to relatively simple steps:

  • Creating swatches
  • Updating the product(s)

We’ll consider them below.

#1 Creating Magento 2 swatches

In this case, you need to add a new swatch. Here’s how it works.

Go to Admin sidebar > Stores > Product tab

create swatch step 1

Then open product Attributes. Now find the Color attribute and click on it:

choose color attribute

You see Attribute Properties.

! Make sure that Catalog Input Type is Visual Swatch
product input type visual swatch


Now Scroll down to Manage Swatch (Values of Your Attribute) and click Add Swatch button. And here come the two options: Choose a Color and Upload the File

m2 native add color swatches

Choose a Color option

You can choose the color, enter its hexadecimal value and save it, clicking the Color Wheel button in the lower-right corner:

choose color option magento 2

Upload a file option

Color diversity is an important but not unique basis for the customer to make a purchase decision. How else you can motivate them? Demonstrate the specifics of the material. And native Magento 2 has an option for this – you can upload an image from your computer. Just choose Upload a file.

From this point on, the procedure is the same for both options.

Now you need to set a label to help your store Admin find the color. Then you need to save the new swatch, whatever variant you chose and flush the cache:

magento 2 admin label set
native magento 2 color swatch cache

#2 Updating the product

Here you need to adjust the new swatches only to the applicable products. To do so, filter the list of goods in the Catalog either by name or by SKU. Then mark the ckeckbox for each eligible product and update the attributes:

m2 color swatches attribute updates


Then scroll down to the Color attribute, and hit the Change checkbox:

magento 2 color swatches change color

That’s it.

Now your customers will see all the available colors for products and even the fabric specifics.

Is it enough for a top customer experience? Let’s consider an example.

The customer spotted a good on sale, and their favorite color is available. So they add the product to the cart… and abandon, as the price for this product variant was not reduced. As a result, the customer feels deceived and may not return to your store again.

Is it possible to prevent such situations? It is, and our Magento 2 swatch module can help with that.