How do you know when your period is over?

.

Is it considered over when I start seeing light brown discharge instead of blood? Or when my flow stops being heavy and is just dark brown when I wipe here and there?