[Unloaded tab color] Make sure it work also for black color

Closes #1013