Reply to Re: Any scripts to create 3-axis bar graphs?

Your name:

Reply:


Posted by Jim Carlock on 10/13/87 11:38

"Noel" <noel.faux@gmail.com> posted:
> On windows the colour pallete (when you click more colours) is
> very limited.

Try something like:

Font.Color = "&H000000" 'hexadecimal / RGB

or

Font.Color = "0" 'decimal, (up to 16,777,216)

Microsoft made changing colors quite easy. You get the same number
of colors as presented by the video card. Most video cards display
at least 2^16 colors, approximately 2 million colors more than most
human eyes differentiate. 99% of the video cards even support 2^24
and 2^32 different colors.

If the video card supports that many colors, Excel supports at least
a subset as defined by the the numbering standards (256 shades of
red by 256 shades of green by 256 shades of blue). Multiply 256 x
256 x 256 and you end up with the spectrum supported by any and
all Microsoft software (all the way back to DOS days), and you
end up with the color spectrum that the w3 standards agreed upon
for the Internet.

Considering 256 equals 2 ^ 8.
(2 ^ 8) * (2 ^ 8) * (2 ^ 8) equals 2 ^ 24.

> On a mac it's unlimited!

Look at it this way... IF the Mac displayed an unlimited number
of colors, the memory required to display just one color would
crash the Mac, consume every ounce of disk space and no one
would be able to post to this newsgroup because your Mac
would suck the life out of the Internet. "Unlimited" is a very big
number corresponding to an infinite amount of memory.

How many colors can you differentiate? Try to tell the difference
between #000000 and #000001? Try it...

<html>
<body style="background-color:#000000;color:#ffffff;">
<p><a href="1.htm">Boo!</a></p>
</body>
</html>

<html>
<body style="background-color:#000001;color:#ffffff;">
<p><a href="0.htm">Boo!</a></p>
</body>
</html>

Hope this helps.

Jim Carlock
Post replies to the newsgroup.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация