@devnull @Quenti My desktop screen doesn't support going to zero brightness. I know that some laptops allow that, my screen doesn't.
The solution on the software level is to only deliver pixels that have a max value of say (150, 150, 150) to the screen, instead of (255, 255, 255). Of course that reduced the color depth that can be represented.
Even if the screen can go to zero, sometimes the level above that is too bright already.