Pimoroni Hyperpixel 4 Dimming

You will find some information here: HyperPixel Brightness Control

I don’t think the last post in that thread is fully correct. I would try to turn the brightness off as documented there, and then use PWM on GPIO19. There are tons of examples of using PWM on a Pi GPIO.