Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,452
Default RGB of highlighted Excel button

Using Excel 2002.
Could anybody tell me what the RGB color is of a highlighted button on the
main Excel toolbar?
This is the color that it changes to when the mouse moves over it.
It is something like RGB(195, 215, 235), but I can't figure out what it is
exactly.
Alternatively a system color would do.
Thanks for any help.

RBS

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 691
Default RGB of highlighted Excel button

cosmin.com - Color Detector, Freeware program to detect the color
of any pixel on the screen. Simply run the program, point the mouse
cursor anywhere on the screen, and the color detector window will
display the RGB values, HTML hex code, and the color name of the
color of the pixel pointed to by the mouse cursor.

Note that Excel uses ColorIndex, and RGB values will be changed
to a ColorIndex value so unless you have an exact match you
probably won't like the results of Excel's approximation.

More information on Color in
Color Palette and the 56 Excel ColorIndex Colors
http://www.mvps.org/dmcritchie/excel/colors.htm
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"RB Smissaert" wrote in message ...
Using Excel 2002.
Could anybody tell me what the RGB color is of a highlighted button on the
main Excel toolbar?
This is the color that it changes to when the mouse moves over it.
It is something like RGB(195, 215, 235), but I can't figure out what it is
exactly.
Alternatively a system color would do.
Thanks for any help.

RBS



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,080
Default RGB of highlighted Excel button

Interestingly, it does *not* appear to be a system color. The value seems to
be equal to or close to &H00FFC0C0&, 16761024, or RGB(192,192,255)

--

Vasant



"RB Smissaert" wrote in message
...
Using Excel 2002.
Could anybody tell me what the RGB color is of a highlighted button on the
main Excel toolbar?
This is the color that it changes to when the mouse moves over it.
It is something like RGB(195, 215, 235), but I can't figure out what it is
exactly.
Alternatively a system color would do.
Thanks for any help.

RBS



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,452
Default RGB of highlighted Excel button

David, Vasant,

Thanks, the ColorDetector did the trick.
The freeware program I had couldn't catch this.
The RGB is (198, 211, 239) or as a long 15717318.
Strange indeed there is no system color for this.

RBS


"RB Smissaert" wrote in message
...
Using Excel 2002.
Could anybody tell me what the RGB color is of a highlighted button on the
main Excel toolbar?
This is the color that it changes to when the mouse moves over it.
It is something like RGB(195, 215, 235), but I can't figure out what it is
exactly.
Alternatively a system color would do.
Thanks for any help.

RBS


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,080
Default RGB of highlighted Excel button

On my system ColorDetector shows the color to be RGB(168,175,194) or
12758952 ... so it is clearly dependent on the system, the video display
driver, etc. Like you, I'm very surprised that it is not a system color.

--

Vasant

"RB Smissaert" wrote in message
...
David, Vasant,

Thanks, the ColorDetector did the trick.
The freeware program I had couldn't catch this.
The RGB is (198, 211, 239) or as a long 15717318.
Strange indeed there is no system color for this.

RBS


"RB Smissaert" wrote in message
...
Using Excel 2002.
Could anybody tell me what the RGB color is of a highlighted button on

the
main Excel toolbar?
This is the color that it changes to when the mouse moves over it.
It is something like RGB(195, 215, 235), but I can't figure out what it

is
exactly.
Alternatively a system color would do.
Thanks for any help.

RBS






  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,452
Default RGB of highlighted Excel button

I needed the color for buttons on an Excel user form. The color comes indeed
out very differently on different systems.
As there is no system color for this I suppose this can't be helped. Or
would there be a way to determine the RGB color of the hightlighted button
on different systems? I suppose this won't be worth the effort if it were at
all possible and it would be best to pick the middle color that does
reasonably well on all systems.

RBS


"Vasant Nanavati" <vasantn *AT* aol *DOT* com wrote in message
...
On my system ColorDetector shows the color to be RGB(168,175,194) or
12758952 ... so it is clearly dependent on the system, the video display
driver, etc. Like you, I'm very surprised that it is not a system color.

--

Vasant

"RB Smissaert" wrote in message
...
David, Vasant,

Thanks, the ColorDetector did the trick.
The freeware program I had couldn't catch this.
The RGB is (198, 211, 239) or as a long 15717318.
Strange indeed there is no system color for this.

RBS


"RB Smissaert" wrote in message
...
Using Excel 2002.
Could anybody tell me what the RGB color is of a highlighted button on

the
main Excel toolbar?
This is the color that it changes to when the mouse moves over it.
It is something like RGB(195, 215, 235), but I can't figure out what

it
is
exactly.
Alternatively a system color would do.
Thanks for any help.

RBS





  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 691
Default RGB of highlighted Excel button

You are going to get different colors depending on how many
bits you use for colors -- you will see the difference and many
windows if not all of them. If you are trying to simulate the
same color with the default 56 ColorIndex colors -- forget it.
The colors are probably choose to make non user colors look
different from colors used by the system and by Excel,
You wouldn't want to choose the color used for cell selection,
for instance.
--
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"RB Smissaert" wrote in message ...
I needed the color for buttons on an Excel user form. The color comes indeed
out very differently on different systems.
As there is no system color for this I suppose this can't be helped. Or
would there be a way to determine the RGB color of the hightlighted button
on different systems? I suppose this won't be worth the effort if it were at
all possible and it would be best to pick the middle color that does
reasonably well on all systems.

RBS


"Vasant Nanavati" <vasantn *AT* aol *DOT* com wrote in message
...
On my system ColorDetector shows the color to be RGB(168,175,194) or
12758952 ... so it is clearly dependent on the system, the video display
driver, etc. Like you, I'm very surprised that it is not a system color.

--

Vasant

"RB Smissaert" wrote in message
...
David, Vasant,

Thanks, the ColorDetector did the trick.
The freeware program I had couldn't catch this.
The RGB is (198, 211, 239) or as a long 15717318.
Strange indeed there is no system color for this.

RBS


"RB Smissaert" wrote in message
...
Using Excel 2002.
Could anybody tell me what the RGB color is of a highlighted button on

the
main Excel toolbar?
This is the color that it changes to when the mouse moves over it.
It is something like RGB(195, 215, 235), but I can't figure out what

it
is
exactly.
Alternatively a system color would do.
Thanks for any help.

RBS







  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,080
Default RGB of highlighted Excel button

"RB Smissaert" wrote in message
...
Or
would there be a way to determine the RGB color of the hightlighted button
on different systems? I suppose this won't be worth the effort if it were

at
all possible


I agree ... I think we're well past the point of diminishing returns on
this issue <g.

--

Vasant


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
highlighted rows excel Nick Excel Discussion (Misc queries) 1 May 19th 09 07:00 PM
Excel 2007 Record Macro button in Developer tab is not highlighted Golfnjohn Excel Discussion (Misc queries) 0 April 30th 08 09:31 PM
when using find I want the box in excel to be highlighted dubie Excel Worksheet Functions 1 March 29th 06 06:43 PM
Why dosen't my paste button come up highlighted? Bonnie Excel Discussion (Misc queries) 1 October 3rd 05 09:28 AM
everything i click on in excel is highlighted.........how do I st. Quickerror Excel Discussion (Misc queries) 4 December 2nd 04 05:06 PM


All times are GMT +1. The time now is 06:40 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"