By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,479 Members | 1,240 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,479 IT Pros & Developers. It's quick & easy.

Color Name vs. Color Number

P: n/a
I want to select different colors for the text in labels for controls
depending on the field being required or optional (to give the user an
easy visual cue).

Is there a list of color names and what the appropriate color number is?

Nov 12 '05 #1
Share this Question
Share on Google+
3 Replies

P: n/a
On Mon, 29 Dec 2003 18:27:45 -0500, Todd D. Levy
<us**************@spamex.com> wrote:
I want to select different colors for the text in labels for controls
depending on the field being required or optional (to give the user an
easy visual cue).

Is there a list of color names and what the appropriate color number is?

Look in help for Color Constants. Some are...
vbRed
vbGreen
vbMagenta
.... and so on.

- Jim
Nov 12 '05 #2

P: n/a
The easiest way to figure this out is to manually pick a color
(background color, forecolor, etc) for your control (textbox, combobox,
label, ...) in the design view of a form (or report) and then look at
the color number in the property sheet of the control you just colored.
You could pick a variety of colors (by right-clicking on the contorl in
the design view and picking a color from the context menu) to make up a
list of colors, or even experiment by changing the numbers in the
property sheet to get a color you like. A slightly more sophisticated
approach would be to use the RGB function (red/green/blue) - details how
to use it in the online help in Access.

Rich

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 12 '05 #3

P: n/a
Thank You everyone.
Nov 12 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.