Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: Color |
From: | Colin Moock |
Date: | Wed, 20 May 1998 18:49:31 +0100 |
The web safe colours are multiples of 51, not multiples of 64.
5, 20, 20 would not be rendered correctly by machines with 256 colours
or less. On a 256 colour machine, the browser will render the colour in
one of two ways:
1) Dithering: the browser chooses two colours and intersperses them in
a pixel-by-pixel grid to fool the eye into seeing the desired colour.
You can set the option to "dither" in Netscape's preferences. That
forces Netscape to dither when ever it can. But of course, that's a
user choice that you can't affect.
2) Replacement: the colour is replaced by the websafe colour the
browser thinks is closest, or by the colour that happens to be
available if other apps are using some of the colours. It sounds like
this is what happened to your green because 5, 20, 20 is closer to 0, 0
,0 (black) than 0, 51, 51 (deep aqua) or 51, 51, 51 (dark grey).
In general, always use multiples of 51 in the RGB scale. When using
Hexidecimal colours, convert as follows:
RGB: 0,51,102,153,204,255
HEX: 00,33, 66, 99, CC, FF
If you're looking for forrest green, I'd try 0,51,0 or 0,102,0. In HEX
that's #003300 or #006600.
Compare on different monitors, though. Sometimes dark colours look
black because the monitor's brightness is turned down. On Mac, colours
generally render lighter than on Windows.
Good luck!
Colin
http://colinmoock.iceinc.com/
flashershocker [dot] com,Internet writes:
>It may not sound like it at first, but I will turn this into a Flash
>issue. :)
>I have been fiddling with colors. I'm I correct that when dealing with
>the web and RGB colors, the only ones you have a good chance of turning
>out the way you want are in multiples of 64? In other words, the
>darkest green you can get would be 0,64,0. The next lightest shade
>would be 0,128,0. Although many other combinations obviously exist,
>these are the ones that will work best across browsers/platforms/etc.
>Am I right?
>I did a movie and had the background set to 5,20,20. To me on my comp
>this looked like a very deep, rich, forrest green. To everyone I
>showed it to, it looked black. Is this a web color issue? If it is,
>is it a browser color interpretation issue? If you put a photograph on
>a web page, it obviously doesn't revert to only those colors based on
>multiples of 64. So is the more of an HTML as well as Flash graphic
>issue?
>Any color buffs out there that know?
>-DGL
------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-managershocker [dot] com. Problems to: ownershocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-managershocker [dot] com
Replies
Color, DGL
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]