How does nylon affect the environment?

when people dye nylon it can affect the environment and in the dye's it may have some sort of dangerous chemical inside which may harm the environment.