Correct answer: Pigments.
Algae are grouped mainly by the types of photosynthetic pigments they contain, because these pigments determine their color and help distinguish major algal divisions. Features like shape or colony formation are less fundamental for classification.