How to display correct color variant in search results?

Hi,

I have several product variants for the same product (mainly different colours).

When I search for “white” it returns all products that have a white variant but the picture the search returns is the FIRST image rather than the WHITE image.

Is there a way to make it so what whatever colour is searched for, that colour image is the one that is displayed in the search results?

Thank you

I don’t understand. How can I put every variable in the title?

I mean what if someone is searching for a black dress? Or Maxi dress? or a dress with long sleeve?

Where would I put that detail for it to be searchable?

Thanks