Preparation of a cellulose-based adsorbent with covalently attached hydroxypropyldodecyldimethylammonium groups for the removal of C.I. Reactive Blue 21 dye from aqueous solution.