What are the basis of classification of algae?

Algae are mainly classified on the basis of their pigments. Flagellation storage products and chemistry of cell wall are also taken into account.