If you have products in a variety of colors, it’s a good idea to highlight them on the collection page. This helps the customers to be aware of the various choices available. One solution is to show color swatches on the collection page. However, this implementation of color variants as separate products shows color variants as separate products.
That way Customers would be able to see all of the color variants on the collection page while still being able to change the selected color on the product page.