Optimization of sorption parameters for synthetic Basic and reactive dyes on to fresh water and marine Algae extended to wastewater treatment