I have a program with some gui, on the JFrame I set,
setBackground( new Color(107, 106, 104) );
The issue is that I get a greyish color, but not the right one. If I check it in PhotoShop, it gives me the RGB values (126, 125, 123)
Ps. I have tried with HEX value, the same result.
you can not set
setBackgroundforJFrame, this is only possible forContentPane, for exampleEDIT
from code