Agricultural wastes don't magically absorb dyes. The results will depend on how you prepare your wastes (e.g. pyrolysis to biochar; but there are other methods )and the dye specifics.
You can see an example below and if you google "dye adsorbents agricultural waste" you will find many papers on the subject Article Effective Removal of Acid Dye in Synthetic and Silk Dyeing E...