Al-Quduri explicitly names three substances. The issue of remaining dye or scent effects should not be collapsed into a general rule that any piece of coloured fabric is unlawful.
The male garment’s shape and manner of wearing are an independent consideration. Colour alone does not establish a violation of this specific quoted sentence.