On common buttons there is a bool option called ApplyAlphaOnDisable. The comment is wrong. What it actually does is apply an opacity effect if the button is disabled.
Or it should anyways if I’m understanding the code correctly. Haven’t been able to get it to work yet, puzzlingly enough. but according to the code it sets the alpha to .5 if it’s set to true (which it is by default).