using dispersed and acid dyes