show all Colours of a product in the collection

I would like to show all colors of a product as separate individual products in the collection list.
e.g. I have the product AA in 4 colors: black, white, blue and green. When I am on the product page, the product appears and I can select and buy the 4 colors.
I would like these 4 colors to also appear as individual products, i.e. AA-black; AA-white; AA-blue and AA-green in the collection list.
Previously I had ONLY one item in the collection list and now I would like to have all colors of the item in the collection, i.e. 4 items, in the collection.

How can I manage this?
Thanks in advance

@samson_2 thanks I found this code and it works Wonderfull ; you just have to check if your color (colour in my case) name in products are the same name in the code

watch out :

https://websensepro.com/blog/show-variants-as-separate-products-on-shopify?unapproved=76714&moderation-hash=944ee1057bfa065561b7741ba6c6386c#comment-76714

Glad you got it working @Pede . For anyone landing here and finding that blog link no longer works, there’s a no-code option worth knowing about.

Variantify does exactly this. It takes each colour variant and displays it as its own individual product card in your collections. Works with most OS 2.0 themes, no Liquid editing needed. Your product structure stays the same in the admin, it only changes what customers see on the front end.