The Filter button changes colour to indicate that the default filter (Unread) or filters you previously set are applied to the current mailbox. The filters are shown in the toolbar above the message list.
In the Mail app to indicate that no filters are applied.