How does gray screen tinting work?

So it's my understanding that tinting adds value(s) to a color (correct me if I'm wrong); i.e., you tint something red, it'll add however many points you put into it to every pixel on the screen. So if something has a red value of 25, it'll go up to 50 if you tint it +25. Right? So, how does gray tinting work then? I know it desaturates things. But what value is it actually messing with? The saturation? I'm not sure that's the case because on a pixel with a saturation of 61, a gray tint of 68 doesn't turn that pixel completely gray, which it would if it was just subtracting 68. So... what exactly is it doing then? Is it desaturating that pixel by 68%? If so, why does it do it that way for grayness but not for rgb? Any help you can give me in understanding how tinting works (especially gray tinting) would be very helpful.
go into the tinting tool and set everything to -255.
raise one color to 0.
you'll see a certain shape light up.
do that for the other colors.... you'll see how they don't completely overlap one another, but their general shape stays the same.
that's because each color is offset 120 degrees of phase to one another.

now, set one color to 0, and gray to 255.
you'll see how all the other colors' shapes light up as well.
that's because gray is a balance of all colors, at the same level.
bringing "gray" up, causes the other colors to level up at the same power as the color you have.

all light is composed of RGB values.
full RGB levels will give you white.
"gray" is just an override of the proportion of values, when working with a fraction of the whole spectrum (AKA, one or two colors out of the three)

Original thread: https://forums.rpgmakerweb.com/threads/how-does-gray-screen-tinting-work.142467/