The purpose of using colors for notes

The purpose of using colors for notes

The possibility of using colors to distinguish notes is a good thing.
Is there way to filter for a special color, or to search for a special color?
Thanks for some advice...