If the carpet has a floral pattern you might find these areas have faded badly.
Some weedkillers have a strong acid in them and salt. The ones that take a while to work but kill off down to the roots are mainly water and a dye like John says. If the carpet has a floral pattern you might find these areas have faded badly.