Another way to say "Dyes are used to colour fabrics." is "Fabrics can be colored using dyes"