View Single Post
  #17  
Old April 15th, 2008, 07:08 PM posted to microsoft.public.access.forms
Rob S.
external usenet poster
 
Posts: 3
Default Where can I find all the "color codes"?

Hi Sam, would you have Mr. Greenbergs RGB tool? I can't seem to find him.
Thank you.

Rob S.

"Sam Kuo" wrote:

Thanks Steven. Your RGB is indeed very handy. it means I can now just use
that to quickly find out the RGB values of whatever color I want even when I
am not in Access, rather than having to indirectly go to the buil-in palette
everytime.

However, It seems Access defines the color constant differently? For
example, color constant for Grey would be 8421504, but its RGB is 128, 128,
128.

Therefore, I also found out another way of manually finding out the color
constants for Access. If I just go to the color property of whatever control
I want to use, and
click on the button on the right, which would then open up the palette. Then
I can just pick whatever color I want and click OK. The equivalent color
constant would then be shown in the color property box

Regards,
Sam


"Steven Greenberg" wrote:

"=?Utf-8?B?U2FtIEt1bw==?=" .(donotspam) wrote in
:

Hi,

I am trying to change Back Color of some rectangles, but I don't know
what "code" is for which color (except black=0 and red=225) in Visual
Basic. Can anyone please help?

I'm actually after dark grey and light grey, but it'd be nice to know
a list of color codes for all colors in the palette. Many thanks

Regards,
Sam



Hi,

I got fed up with trying to calculate the color codes also, so I created
this application (via VB) called RGB which lets me play with all values of
Red, Green and Blue via sliders and shows the result along with the
decimal, hex and full decimal number. Feel free to download it and try it
out. It can be found at:

http://shgreenberg.home.comcast.net/otherpgms.htm

Anyone else feel free to try it out. it has certainly helped me many times
before. There is no help but it is self explanatory, plus there are many
other convenient things it can do. email me with any questions or
suggestions.

Steve Greenberg