Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Easy on Eyes Colors 1

Status
Not open for further replies.

HenryE

IS-IT--Management
Apr 30, 2002
42
US
Does anyone know of color combinations in forms that would be easy on the eyes. I'm building an Access application for a department to replace the current database, and the users have asked for something that would be pleasant to look at and also easy on the eyes.

I'm currently using a medium green/blue (8421376) background with light blue (16777164) text areas and dark blue (8388608) text. This seems to work relatively well.

Anyone have their own favorite color combinations? Thanks much.

Henry
 
Experiments in cognitive recognition and usability have shown that the following combinations for "input" areas are relatively effective:

White Text - Purple background
White text - Blue background
White Text - Black background.
Black Text - white background.

Be careful about using COLORS that have special non-computer meanings - RED usually connotes something extremely important or a fault of some type. Don't make everything RED, in other words.

I think the main thing is to go for high contrast colors, and watch the effect on people who may be color blind (10% of the male population).

I've always found it helpful to toss a highlighted border around a text box that has the focus, and set it back to white or some neutral color when the control loses the focus. Examples are on my website.

Jim


How many of you believe in telekinesis? Raise my hand...
Another free Access forum:
More Access stuff at
 
Dear HenryE,
Whilst the colour is important I would suggest that most people set the Brightness and Contrast of their monitors too high.
Go around the department that uses the database and check the levels of both and adjust them lower and see what effect that has.
Too much television has corrupted peoples colour sense (and their subtlety)!
What I mean by that, is that people adjust their monitors as if they were sitting 2 metres away from them, when in fact they sit 30cms away.
HTH
Regards Jim
 
Thanks James 33 and Wildhare,

Jim, you mentioned that you use borders around controls such as text boxes, and that you have them highlight when a control gets focus and then return to normal when the control loses focus. Is there any way of doing this quickly for a large number of controls, or would I have to create VBA code for each control with something like:

Private Sub ControlName_GotFocus()
Me!ControlName.BorderColor = 10092543
End Sub

Private Sub ControlName_LostFocus()
Me!ControlName.BorderColor = 0
End Sub

Thanks much.

Henry
 
I do it with a function in a general module:

Function SetBorderColor()
on Error resume next
Screen.ActiveControl.BorderColor = vbRED
End function

Function ResetBorderColor()
on error resume next
Screen.ActiveControl.BorderColor = vbWhite
End Function

Then, after I've designed my form, I select ALL of the text boxes or other controls I want this to happen on, and hit PROPERTIES.

Then I place a call to the SETBORDERCOLOR function in the ON GOTFOCUS event, and a call to RESETBORDERCOLOR in the On Lost Focus event:

GotFocus =SetBorderColor()
LostFocus =ResetBorderWhite()

That's all there is to it. There's a sample db up on the Hare-Net showing this technique:


Good luck
Jim How many of you believe in telekinesis? Raise my hand...
Another free Access forum:
More Access stuff at
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top