This requires each colour option on a product to have its own uploaded photo, so customers see exactly what they are choosing rather than a generic product image regardless of colour.
Go to Dashboard > Products > Product Settings and find Use Images for Colours under Advanced Options.
Once turned on, go to the product`s category and click Manage Colours to add each colour option along with its own photo. See the Colour options article for the full steps.