Repost: Form Backcolor (256 color palette issue)

D

Daniel P

Hello,

my database must be able to run on a 256 color screen setting because of our internal network..... Thus I must change colors so that they work with this setting (on my screen "32 bit" all is good but when on the network many colors come out very choppy). Where can I get a listing a color that are compatible with a 256 solor palette?

The backcolor format setting uses numbers like "13434828" what the heck is this? I've used HEX and RGB but what is that number supposed to be?

Any help is greatly appreciated!

Daniel
 
D

Douglas J. Steele

Believe it or not, it's RGB, it's just not the standard order (they're in
BGR order).

From the Help file, the intrinsic colour constants are:

vbBlack 0x0
vbRed 0xFF
vbGreen 0xFF00
vbYellow 0xFFFF
vbBlue 0xFF0000
vbMagenta 0xFF00FF
vbCyan 0xFFFF00
vbWhite 0xFFFFFF

If you go to the Debug window, you'll see the following:

?vbBlue
16711680
?RGB(0,0,255)
16711680
?vbYellow
65535
?RGB(255,255, 0)
65535
?vbGreen
65280
?RGB(0,255,0)
65280



--
Doug Steele, Microsoft Access MVP

(No private e-mails, please)



Daniel P said:
Hello,

my database must be able to run on a 256 color screen setting because of
our internal network..... Thus I must change colors so that they work with
this setting (on my screen "32 bit" all is good but when on the network many
colors come out very choppy). Where can I get a listing a color that are
compatible with a 256 solor palette?
The backcolor format setting uses numbers like "13434828" what the heck
is this? I've used HEX and RGB but what is that number supposed to be?
 
D

Daniel P

Is there a web site where I can get a listing of which colors (including the BGR code) for the 256 color palette
 
S

Stephen Lebans

Which 256 color palette?
1)
There is a MS Office 256 color palette on the MS Web site somewhere as I
have downloaded it before.

2) A Web search for 256 color Web safe palette will yield lots of hits.
--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.


Daniel P said:
Is there a web site where I can get a listing of which colors
(including the BGR code) for the 256 color palette?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top