An artificial eye developed for Earth observation is now being employed to recognise colour variations in dyed fabrics: a critical element of textile production. This could significantly reduce the 160 million metres of dyed fabrics discarded annually in Europe with high environmental costs.