Question Background Colors of Controls

tim8w

Well-known member
Joined
Sep 8, 2020
Messages
125
Programming Experience
10+
I have a simple "Lock/UnLock" button. I would like to bring attention to the fact that the DataGridView I am displaying is in one of those two states. The two colors I am thinking of using are either Transparent/Red or Transparent/Green or maybe even Red/Green. Are there any opinions out there about any of these combinations and which state should have which background color?.

1646261512710.png


I am leaning toward Red for Unlocked and Transparent for Locked.
 

jmcilhinney

C# Forum Moderator
Staff member
Joined
Apr 23, 2011
Messages
4,466
Location
Sydney, Australia
Programming Experience
10+
I would think that if green is to be used then it should be for unlocked and if red is to be used then it should be for locked. Whether you use just one or both colours probably depends on whether you feel it appropriate to specifically draw attention to both states or just one.
 

Skydiver

Staff member
Joined
Apr 6, 2019
Messages
5,251
Location
Chesapeake, VA
Programming Experience
10+
Also be aware that one of the more common forms of color blindness is red-green color blindness. Both background colors will look the same to those who have this disability.
 
Top Bottom