Hide/Show selected color groups

There’s a feature where you can put a color overlay on specific layers/track on the timeline. I would love to be able to hide/show specific groups of colors. Is there a script or any tool that does anything similar?