Color and the brightness change

If you want to change the background color and the brightness of the background changes, can’t you judge the color?