Simplify Color4ub::GetLuminance() and fix background star fade

For #2580. Not complicated, but could do with some testing.