Short description of error
Admittedly a very small issue, but I think it is likely a bug.

A collection's name in the outliner is grayed out when all of its child collections are disabled.
This almost makes sense, but there can be enabled objects inside the main collection. Because of this, it feels wrong and unintentional to me, that a collection that contains elements that are contributing to the scene, would get grayed out.

Hi @Jacques Lucke (JacquesLucke) remember to always tag the correct project when triaging a report, specially when you go as far as call it a bug. Otherwise it doesn' t show up in the corresponding queries.
(this should be super easy to fix by the way).

I created a patch for this. In it I explain the changes.
The part of the code I modified was introduced in Commit 4234cddd by Brecht in which children flags are set as parent flags initially.
He might better know whether this patch is ok or not.
I'm new to this, not sure if I should assign him as reviewer.