In GUI browsers, I have this page themed dynamically, so when it's dark outside, you'll get a dark theme. You need JS enabled if you want the dynamic theme; I don't run any JS-based analytics or tracking.
Value of pixel in output is determined by value of same pixel in input and the neighbours.
Use small neighbourhood of pixel in input to get new brightness value in output.
example kernels: