Another way to say "Dyes are used to colour fabrics." is "Fabrics are made different colors using dyes."