Destroying The Myth Of The Web-Safe Palette
curmudgeon42 writes: "The folks at Webmonkey have developed a new test of the Web-safe color pallette. The results of their experiment suggest that there are only 22 colors that work across all browsers, platforms, and color depths. The article also includes a good explanation of how the different color depths operate, and some interesting strategies for dealing with the greatly diminished amount of Web-safe colors." The authors are both senior designers at Razorfish. You might not guess it from visiting some of the worst sites on the Web, but some designers are both interested in making their pages look good to all (read "most") users, and in avoiding the problems of relying on proprietary plug-ins. If your words, artwork or photographs end up on the Web, you should read it.
Back in time we go. Anybody for the old IBM graphics?
make Linux, not Microsoft. sin(beast) = -0.809016994374947424102293417182819
This gets really frustrating. I used the GIMP to design an old home page of mine using "Web-safe" GIFs. Then I took a look at it on a really nice monitor, and the colors were just horrible.
Web Monkey has been, and continues to be, an excellent resource not only on web development at the code/backend level, but also with aspects to good design practices. Unfortunately just because you can write some wicked perl scripts for a web site, does not mean you can design a pretty interface to them. It's much easier for a graphic designer to learn how to create a web page than it is for a coder to learn good design principles. Web Monkey has a nice blend to help both groups out.
Plus, they also have a great name. =)
{justin.filip | jfilip AT gmail DOT com} {http://jfilip.ca/}
Prices...
;)
Die sizes on your CPUs...
Prices...
latency...
Prices...
but the colors you can use?!??!?!
c'mon!
and just when you thought it was safe to view the web in all 216-color glory, too
Stop over-analyzing your analizations
The real problem here is the customers who insist upon complete control. They think "publishing," and somehow think that they have ultimate control over all things, and thus ultimate control over how it is presented to the viewer.
The web is a different medium. You don't take radio rules and apply them to TV, and vice versa. What works well for glossy color magazines won't work well for an indie newspaper.
I'm still fighting battles with folks. The latest here is the use of the corporate logo. The brand-identity weenies complain that there has to be one inch of whitespace around the logo, and the logo can not appear any smaller than certain dimensions, and it has to appear in the correct colors.
One inch of white space? Sure, on what size monitor?
Surely most everyone using the internet with graphics enabled has realised that web sites WILL LOOK TERRIBLE if you use less than quite a lot of colors. If you wanna browse in four colors you can, but why should my experience be spoiled by whiny pathetic ten year old technology huggers? I like gradients and drop shadows and textures. A site doesn't need to be slow to be pretty, so why should it be ugly to everyone, rather than just people who are crippled by their browser/Accelerator/whatever. Inequality in Browsers doesn't mean i should have to suffer just 'cos you do.
*serving suggestion
I remember when I was in the clothing industry there was a standard Pantone that was used for colors. That way a green xxxx.x was allways a green on pring, fabric, screen etc.
make Linux, not Microsoft. sin(beast) = -0.809016994374947424102293417182819
Unfortunately, with Netscape 4.61 on an HP-UX TrueColor display (visual), 7 of the 22 really safe colors display GIF-BGCOLOR mismatches. Of course, some of the supposedly non-safe colors may work OK on my display, but if you're trying to be truly cross-platform, the number is reduced to 15 safe colors.
What really bugs me recently is not color mismatches, but sites which have some sort of horizontal bar with many repeating vertical color streaks. It looks really ugly and I've seen it on a number of sites, so it seems to be more of a browser problem. Perhaps it's CSS that Netscape 4.x doesn't understand correctly?
Your right to not believe: Americans United for Separation of Church and
OK, this is somewhat off-topic, but it's a good story and it's sort of pertinent.
I was on a Boston to New York shuttle flight that gets stuck on the runway for 3 hours with no explanation. Worse, I'm sitting in front of three idiot consultants from Razorfish who spend the whole time talking loudly and incessantly. Remarkably, not one word of it resembled any productive activity in the slightest. "So, I conducted a series of group discussion sessions to quantify how they establish their procedures." "But, Bianca, how did you formulate the framework for evaluating their paradigms?" I was thinking back to the Slashdot article where a client sued Razorfish for delivering a shoddy site and wondered whether these clowns had worked that project.
My favorite line - Bianca is irate because a client asked her for some concrete bit of information: "Can you believe that? Hello? I'm an Information Architect, not a Knowledge Engineer!"
---------
Bollocks. What about the 6-7-6 palette that was a common "standard" for GIFs back in the old days? IIRC, the palette choice for "undithered" colours was made fairly arbitrarily by Netscape, and was not based on what the application could allocate at run-time.
More pish. They already said that the palette for 256-colour displays was drawn from a pool of 16,776,216 colour.
Well, I used to run "netscape -install" on my 8bit X server and that's exactly what it did.
If the authors felt the need to dumb-down the technical side, they could at least get it right. The article is otherwise very intersting and informative.
Be careful. People in masks cannot be trusted.
0 - black
1 - white
Reminds me of an old TV technician joke: What does NTSC stand for?
Never Twice the Same Color (prob. referring to the inevitable drift of a analog tint control)
---
They mention in the article that the safe colors in the 16 bit palette changed from machine to machine on Win95. Now this is the same browser on the same OS. What I'm wondering is: Wouldn't a more likely cause for the problem be differences in the video cards and drivers on those machines? I really hope each application doesn't need to adjust colors before feeding them to the video card. They should be able to, but they shoudln't need to.
Well, I've got one of the d*mn 16 bit displays (hey I'm colorblind, I want res more than color), and I've come to the conclusion that it's a serious bug, or at least misfeature, to have the color rendering/dithering systems be totally seperate entities for the different sections of code.
Marxism is the opiate of dumbasses
They already said that the palette for 256-colour displays was drawn from a pool of 16,776,216 colour.
Actually the 'classic' VGA palette is 256 out of 262144 (6 bits per color).
When True Color cards came out, ATI came up with CoDe (color depth Extension) which was truly 256/2^24. Others soon followed.
So it's even worse: you got the 256 color drivers that support 8bpp palettes and the older ones that only go to 6bpp.
---
Besides the web-safety limitations of color selections, web designers should also be cognizant of what visitors who are color-blind will see (a subject near and dear to my heart). Webtechniques has a great article on this subject. Particularly interesting is their description of how to simulate color-blindness in order to view your own design efforts.
"If I have seen further than other men, it is by stepping on their glasses." - Michael Swaine
The authors of this article don't seem to realize that 16-bit color is 15-bit color. As a brief primer:
Similarly, 15/16-bit color is three 5-bit channels and a 1-bit padding/alpha channel, yielding 32768 colors, not 65536.
This (and some other inaccuracies in the article) cast some doubt as to how much the authors really understood what they were saying. For example, the web-safe palette still does protect you from dithering, and that's important.
Between the authors and Webmonkey, you'd think someone involved would know how to format a link properly!
---------
I hate whoever invented this stupid thing. Yes, it allows you to make sure some colors match up on low-end displays. It made sense when most of the world was browsing at 256 colors. But now, the COMMON CASE is a high-color display without color dithering! If you think minor color mis-matches look bad, take any photograph and dither it to the "web-safe" palette in photoshop or the gimp. Horror! I've seen far too many web sites which dither everything to the web-safe palette, the designer thinking that it will make everything look "right" on all displays. This article shows that it (except a very small subset) doesn't even make everything look the SAME on all displays.
Designers have a hard time learning new tools and techniques (ever seen a web site designed by a designer who does classic media?)... this habit is one of the worst.
The part that bugs me the most is the HUGE amount of time wasted on these battles. Just when I finally win an argument (and get to ignore the Brand Identity guidelines), I get socked with another weenie insisting that all text absolutely must be half-inch Garamond.
It's not that I hate fighting these battles per se, it's that I keep having to fight them, over and over and over again, regardless of how many times I try to put my foot down.
I have no
I tried for quite some time to have my little homepage to look nice. It was a pain - decent graphics took too long, then you had to mess around with different colors on the background. Then you had to go to a different machine to look at it, to make sure that it look the same on a Win9x machine w/ IE as on my Linux machine running Netscape 4.x. And, of course, it never did.
So I stopped - I think I now have three graphics on my whole "home site". I made all the colors the default (usually black on white, but on my Linux machine it's black on light gray, thanks to Netscape). So, since I made that decision, I decided to do something else on my site, to make sure that people would come back. Something rarely seen on the Web today (though that hasn't always been the case). I put in actual content. Naturally, it's my website, so it's all about me and my not-so-exciting life, but still - there is actual content on my web site.
- mikeh
i looked at my site's logo for www.nothingkillsfaster.com :)
on one of the campus computers and you could only see the "nothing" but the other art is superb
So this is something i'll definetly follow up.
Chaos, Mayhem, and Destruction: Not
Is there something wrong with my Web Safety? Should I upgrade my version of Lynx to get all 22 colors?
Carefree highway, let me slip away on you.
i sure hope that slashdot-green is on the list...
-- Hail Eris
If you want to be truly safe, you need enough contrast between your background and your foreground so that it works on machines with 1-bit colour.
But why bother? Nobody would seriously use such a machine to browse the web, as useful as it could be for other things. Similarly, do you really need to appeal to users with only 8-bit colour? I mean, so long as they can see something, is it really worth making it look perfect?
Oceania has always been at war with Eastasia.
Gamma kinda goes like this, perception of differences isn't based on an absolute difference, but a percentage different. I can feel the difference between one ounce and two ounces much better than I can feel it between 30 punds and 30 pounds 1 ounce. The absolute difference is still 1 ounce, but the percentage is radically different. The perception curve is based on an exponential, and that exponent is named gamma.
The percieved color difference between 0x00 and 0x33 is radically different between 0xCC and 0xFF. You actually want a perceptually equidistant color space, not mathematically. Ever wonder why dark gifs look so bad? because there is too much spacing (perceptually) between colors at the bottom end.
BS, programmers who don't understand color theory or are too lazy to program it right liked the mathematical simplicity.
I've written low-level drawing code that had to work on 3 dozen video cards, so I know entirely too much about this. There are actually 3 flavors of "high color":
* 15 bit, no alpha channel, aka "555" color with 5 bits each of R, G, and B.
* 15 bit with alpha, aka "1555" with 1 alpha bit and 5 bits each of R, G, and B.
* 16 bit which (on PC hardware at least) is always "565" color, with 5 bits each for red and blue and 6 for green (because the human eye is more sensitive to variations in green).
You can of course treat 555 and 1555 the same in most cases. Older boards tended to be 555 format, while most newer designs are 565.
I see the same thing with Netscape 4.72 on an 8-bit HP-UX display.
It's probably worse than that. I'll bet there's some platform out there that screws up some of these 15 safe colors, too. In the end, the only colors you can rely on to be the same across all color platforms are the eight at the vertices of the color cube:
And here I was hoping that the world had long since left the CGA palette behind. :)
It's been my experience that the client is pretty understanding when it comes to the issue of color.
The bane of my existence is screen resolution.
Client: Make sure the logo is two inches from the left side of the screen.
Me: Okay, whose screen?
Invariably, the site gets optimized for the somebody's mother's PC, which has a 19" monitor set at 640 x 480.
Browser? I barely know her!
I've noticed in the past that Gimp seems to identify colors (particularly the hex values) differently from other programs (say, Paint Shop Pro). As a sample, create an image in PSP using a web-safe non-primary color (some really light or dark blue, for example). Test the hex value in PSP. Save the file to mytest.png. Open the file in Gimp and use the dropper on it. The hex value *WILL* be different (unless it's really close to a primary color). It doesn't at all surprise me that Gimp's idea of web-safe may not in fact *BE* web-safe.
:)\n"
if ($user =~ m/shaldannon/i) {
print "\n-- $user
}
What is your Slash Rating?
I recently found time to begin learning photoshop for the first time at work. I thought I'd redesign my web page with my newfound skills.
What I found quickly was that even using a web safe palette in photoshop, and then viewing my page in netscape on the SAME MACHINE, the color was skewed. (Curiously enough, the color in question was actually closer to what I'd intended in netscape on a different (Mac) OS).
It didn't take me long to decide that there was pretty much no hope of complete color concordance, and I gave up, and just tried to make something that would look decent even if the colors drifted. That's pretty much what you have to do. Sort of like computer security?....
Tweet, tweet.
In the article, the authors claim that when your monitor is in 15-bit mode, there are 32,768 colors it can display, and that these are chosen uniformly in a 32x32x32 quantization of RGB-space. This is correct. However, they also claim that none of these colors exist in true-color mode (except black and white and other pure colors) because, for example:
In 15-bit mode, the color (1,1,1) where each number is in the range 0-31 gives us about 3.23% gray.
In 24-bit mode, the closest colors you seem to have are (8,8,8) and (9,9,9) in the range 0-255 which correspond to 3.13% gray and 3.53% gray.
However, this assumes that at a hardware level, there is a difference in the signal being sent to the monitor between 3.23% and 3.13% for each color channel. Is that really the case? My guess would be that when you're in high color (15-bit) mode, each pixel gets translated to its nearest 24-bit equivalent inside of the video card before the signal sent to the monitor. This is almost certainly the case when the connection to the monitor is digital, like in some new flat-panel displays. Anybody know about this for sure?
I know that PNGs don't work in the majority of browses, but would they have the same problem? I bet they would. Also there would be alpha-channel problems. Does anyone know more about this?
-- ERICmurphy -- www.jabber.org for open-source, XML-based IM
I'm glad to see that they addressed the concept that different rules apply to different media.
My favorite is:
STRATEGY 9 -- Go back to print design.
Anyway, I ran into this trouble a couple weeks ago. What I _REALLY_ hate is if you have a GIF that's a solid color (say #006000) and you set the BGCOLOR of a table or body to the EXACT SAME COLOR, the browser displays the GIF and the BG differently. Drives me nuts.
Some day there will be a browser that actually works. Some day a long time after that, most people will be using a browser that actually works.
Until then, I'm forced to send design back to the design team over and over until they get a clue.
Someone else hire me.
Yet another inaccuracy in the article:
:-P
These "senior" whatever-they-are's didn't bother to look closely at their tests. They say that the color mismatches occur in high-color modes because the browser has to pick between (as an example) 1.9 and 2.1, from an original 2.0, and it doesn't always pick the same thing...
If they would look at their example images (ghost.gif and obvious.gif, linked from within the article), they would see that the BGCOLOR for the table cell was solid, but the GIF was *dithered*. They claim that it is a bug in the browser. You could consider it a bug, I suppose, but it's really just the fact that the browser assumes that BGCOLORS should be solid, and thus picks the nearest color, whereas images are quite often *not* solid shades of color, and they usually benefit from dithering.
Another nitpick: The fact that they claim these colors that don't pass their test in high color aren't "web safe" is inane, at best. They consider these colors "unsafe" because they are shifted slightly in high-color? Um, how often can you get colors to display consistently across all sets of hardware/software? Never. A little color shifting is irrelevant. *Maybe* you can have an issue with high-color dithering (which they didn't seem to notice), but that's pushing it...
Duhhh, I feel special because I picked apart an article written by guys making lots of money...
The extra bit in 5-5-5 could theoretically be used for an alpha channel, however in reality it is almost always ignored.
The advantages of the 5-5-5 format is that the color components are more equal, so you get a full 32 shades of true grey rather than the pseudo almost-greys of the 5-6-5 format. Of course, for most photographic data you want as much color depth as possible, so the 5-6-5 format is preferred.
Download a fast DirectX Tetris Clone [276 k]
The concept of a web-space palette has nothing to do with consistency between hardware setups.
The concept of a web-space palette has everything to do with using one general but limited set of colors for all images, when the hardware has only 8bpp in which to render.
If you're using a video card in a 8bpp hardware mode (common in 1994), the hardware must use a palette: a lookup from 8bpp indices to the analog RGB triple. There is only ONE hardware lookup table for all applications that have access to the screen.
In such a scenario, the graphics manager (Windows GDI, the MacOS equivalent, or whatever other system) generally gave the foreground app priority. It could load as many colors into the hardware lookup as it wanted (up to the obvious 256). All other apps had to use a "logical palette", which was a wishlist. The manager would map any spares to the best colors from all background apps' wishlists, and map any other graphics to the nearest equivalent in the definitive lookup.
Changing the hardware lookup meant "palette flashes", most commonly seen when switching between two graphics applications, each of which trying to optimally select colors for its graphics documents. The flash was because the hardware lookup changes took place instantaneously, while the software had to refresh their images at whatever speed the CPU and video memory accesses allowed for.
A web browser, unlike a graphics app, is used to render many images at once. Thus, it must in turn emulate the SAME sort of wishlist strategy for each image, not just each application.
The 216 color "safe" palette was proposed, because this was the most theoretically evenly spaced set of RGB values that filled the whole RGB gamut (6 levels R, 6 levels G, 6 levels B, 6*6*6=216, 216<256).
If the web browser app registered the 216 colors (plus any common shades of gray used by the default OS GUI), then it always had *some* chance of making a reasonable nearest-color compromise in every image it was asked to draw.
There is NO way to make 100% match between different mediums. Two different digital-to-analog chips (DACs) made from the same wafer of silicon will still have different thermal and amp response curves. The best you can do is approximate.
Macs and SGIs have inherently focused more on color reproduction quality, but they still vary a lot. PC cards are more interested in pixel pushing than in DAC quality, but they're better than ever at making good color. The reputations stick: Mac goes for high-saturation color, while PC goes for a flatter gamma.
That's not even getting into RGB vs CMYK color spaces... the monitor, even in "true color" 24bpp modes, can only approximate about half of the actual color space available to the human eye. Print media can also get only about two thirds.
Good logo designers have to consider embroidery, silkscreening on fabric, silkscreening on plastics, diecut metals, print and onscreen uses for that logo. You think the web was a limited environment for color choices!
In short: "Safe palettes" are good for reducing compromised color selections, and a common palette from app to app helps in reducing that hardware palette lookup flashing. If you're in a higher color mode, you don't get any of the latter case, and the 216 colors are irrelevant to the compromises made in the former case.
But you STILL won't look like your neighbor.
[
OK, so when doing web graphics, I've got two choices...
1) Use a low-color palette and have graphics and pages that look generally crappy to everyone, or
2) Stick with the "don't worry about it" method and have graphics and pages that only look crappy to those with amazingly low color palettes.
-S
--- What parts of "shall make no law", "shall not be infringed", and "shall not be violated" don't you understand?
Am I the only one who thinks this is a non-issue created by people obsessed over aesthetics and graphic design? I have never once come accross a site whose color combination has limited the functionality of the site. Sure, if you have photorealistic images or something, they might look slightly different, but really, for most cases, does precise matching of color matter *that* much (not to slight the color blind). I mean, the BSD and YRO sections of Slashdot are pretty damn ugly, but somehow I still manager to cope. Are there really people out there who are going "Hey, this site looks subtly different on my Mac! Damn you! Burn in hell! I will never buy your products!".
Who really cares if the colors are a bit off? (and I understand if it's a matter of principle - you don't design poorly if you know there is a right way to do something, but still...this seems like splitting hairs)
It's 10 PM. Do you know if you're un-American?
As a scientist, I give presentations occaisionally, and a (male) audience member later told me he was red-green color-blind, as was ~10% of the male population.
Since then, I've tried to never use both red & green as the only distinguising characteristic on a chart, etc.
While I'm at it - blue & red should not be placed next to each other, generally. Since they fall roughly at opposite ends of the visible spectrum, the eye's focal power differs the most between those colors. As your eye/brain tries to focus properly on two colors that require slightly different adaptations, you can perceive a "vibration" -- the boundary between the red & blue will have a high-frequency shimmering or vibrating appearance.
This is not universal, and is most noticeable between bright solids with adjacent, straight edges.
Further OT - it can also be used to interesting effect. There's a laser-tag place nearby, and the carpet has a blue-grid pattern offset on a red-grid pattern, illuminated partly by blacklights. From the observation gallery it has a 3D effect, with the carpet looking as if it has 12" deep holes in it. I believe it's due to the red-blue focusing issue.
-----
D. Fischer
ShoutingMan.com
There's evidence to back up your statement: Statmarket.com, a subscription service that provides browser stats based on samples culled from sites that user their server stats technology, used to be free about a year ago. Even back then, their stats seemed to indicate that the prevalent setup for machines was 800*600 and 16-bit colour.
Why didn't they include lynx in the survey?
They say, "Unless you work entirely in black and white, approximately half your general audience won't properly see the colors you select for your site."
Ahem. Let's rephrase that: "No one but you will properly see the colors you select for your site." If they think that slight color shifts are a problem, they need to standardize everyone else's: browsers, OSs, graphics cards, monitors, viewing conditions, and eyes. Enjoy.
Forget True vs High color. There are more basic issues at work:
1) Non-color devices: Palms, cell-phones, terminals, lynx, etc.
2) The reason people care about "websafe" colors is that they want the client to see what the designer designed. But if I adjust the settings on my end, I don't see it anyway. "The settings on my end" include everything from constrast/brightness/etc on my monitor to the individual color tweaks available on some TVs (as in "WebTV").
It is literally impossible (not just difficult) to make this work, so why not design around it? Stop making pretty colors cover the fact that you have no content and actually give me some meaningful information.
--
Linux MAPI Server!
http://www.openone.com/software/MailOne/
Linux MAPI Server!
http://www.openone.com/software/MailOne/
(Exchange Migration HOWTO coming soon)
I found it refreshing to see some decent software testing going on. Why does it take two yahoos to find out that there are serious rendering differences in browsers? I guess this is another result of the 'browser wars'. Freaking guys, get together and come up with a standard!
If only people TESTED their software. Jeeze, you think somebody at Micro$oft would have at least found that silly rendering bug.
I guess that's the problem when you aren't working from a spec (just make it up as you go....) Is there a spec stating how colours are to be rendered mathematically? Ie round up or round down in these cases?
It seems logical to me that in order to solve some of these ambiguious choices there has to be a spec.
You'll note in this article that they tested their palette on Macs and Windows machines only. No flavors of Linux, no Solaris, no HP/UX...
Why? Because every platform has a different 256-color palette. So those Web-safe colors aren't Web-save on most X-Windowing machines anyway.
Old-timey graphic designer motto (which isn't taught in schools anymore, to judge by Wired and it's ilk):
I'm kinda old-fogey about this. If it's black, you read it. If it's blue, you click on it. If it's grey, it's the background.
Jeez... If you're site is all about matching colors and transparent GIFs, you've got a brochureware site. Don't sweat it -- people will look at it once and never come back.
(Browsing Slashdot in "simple HTML mode"...)
Potato chips are a by-yourself food.
One of the most interesting things I learned in this article is how inconsistent web browsers are when attempting to render colors in 15 or 16-bit modes. I can imagine this happens because sloppy programmers might convert from an 8-bit number to a 5-bit number by doing a bit-shift, incorrectly ignoring the less significant bits.
This is a big deal, for example, if you need solid colors (like table BGCOLORS) seamlessly blending with GIF images. I can imagine this coming up sometimes, but not THAT often. Luckily they offered some suggestions to remedy this problem (like using a transparent color in your GIF where it blends with the background).
The authors of the article, however, seem to imply that one concern is that the colors people see are not the colors you intended for them to see. This is a different issue entirely! Just the fact that most monitors have brightness/contrast controls, plus the differences in gamma used by Macs and PCs, and other factors like this virtually guarantee that most users will not see exactly the color you intended.
You would NEVER, for example, expect to do business with someone whom you pick up in a white limo in China - White is a color reserved for funerals, and typically associated with death.
Also, keep in mind the industry you are dealing with. For example, in Nuclear circles, where many people started out in the Navy, red means ON(hot) and green means OFF(cold)... So a flashing red marker might get misinterpreted.
But then again, developing a web site with your audience in mind is common sense, isn't it? Well, isn't it?
The REAL jabber has the /. user id: 13196
The REAL jabber has the user id: 13196
What you do today will cost you a day of your life
A secretary in my office has a windows95 machine that the sysadmin never installed the correct video driver on. Her machine is set on "default display" which only displays 256 colors.
It never bothered her that everything looked really weird.
Consider your audience.
Design accordingly.
Roughly 99.9% of the general population are not anal retentive web developers.
"tension is the great integrity" -R Buckminster Fuller
I know your exact problem. Photoshop 5.5, right? Go to the RGB settings under Color Settings under the File menu. Change it to Monitor RGB or Adobe RGB 1998. Also turn off the embedding of a profile for RGB images.
Photoshop 5.5 has a lot of nice stuff, but fungling with my colors is a big bugaboo.
Potato chips are a by-yourself food.
The web safe colors (aka Netscape Color cube) was useful back in the days of Netscape 1.0 and 14.4 modems. These colors are the few that woudn't get dithered on a 8-bit (256 color) screen. Say nothing about color accuracy.
Now, in the days of 8mb video cards in even the worst computers you can buy and high speed connections, limiting your web design to those 'web safe' colors is just plain stupid. Use a JPEG or PNG, damn it!
-tschak
We had a client who was checking out their website on two different (same brand, model etc) laptops, same OS, same browser. Same color depth.
They couldn't figure out why the colors weren't exactly the same, and over the phone, we didn't catch the problem either. Naturally, they thought it was a problem with our design or programming.
So, when they were here for a meeting, they brought the laptops along, connected to the site, and said "There, see? The colors aren't the same."
They were right. The colors weren't the same despite exact same configurations on the two machines.
I _REALLY_ impressed them when I reached up and adjusted the brightness and contrast of the darker laptop.
[eyeroll]
If you are so flaming concerened about color that you think you need to use those 22 colors, you're really in trouble. Nine of the colors are either green or red. Why does this matter? Well colorblind people can't distinguish between green and red. So if color is that important to your site you'd better forget about it.
That's very interesting. I'd never thought of it that way before. IIRC, hearing works the same way. (Every octave is a doubling of frequency.)
I wonder, then, why the "named" colors (purple, darkred, snow, cornflowerblue, etc) in browsers tend to be more prolific above 0xF0 and much less under about 0x30. Did Netscape think we needed more variations of off-white colors than off-black ones?
Constitutionally Correct
Perhaps because the MacOS is designed with a more visually correct gamma than others. *shrug* And maybe Photoshop has its own built-in corrections on other platforms. Just an idea.
Constitutionally Correct
I read just enough color theory to survive my Ph.D. prelim several years ago, and promptly purged it from memory, so take this for what it's worth...
:)
:)
You're right, human perception is not a linear function. We perceive green most strongly, over red and blue (in terms of a fundamental RGB colorspace). Also, our perception efficiency is roughly a bell-curve for each spectrum (R, G, B) with the max at some particular hue of each one.
Our perception is also significantly affected by external conditions: adjacent colors, lighting.
Two adjacent (non-white) colors will be perceived differently than if isolated on a white background.
All lights have a spectrum; put another way, few (none?) consumer & commerical lights produce "white" light. Mercury-vapor lamps (i.e. street lights) are distinctly yellow. Neon lights, I think, have more blue than sunlight. So on. This leads to the common experience of buying a purple shirt in a neon-lit store and finding out it's blue in the sunlight (or whatever; I don't recall the particular color shifts). Likewise, a certain blue, say, may be very appealing, but when surrounded by a certain green, say, it no longer appears as expected. Combine that with the lighting issues, and you've got a mess.
Related to lighting is the eye's light-adaptation level. When dark-adapted, nearly all color vision is lost, with the eye being most sensitive to red. So, a someone reading a magazine (or computer monitor) at night with dim lighting will see the colors differently than outside on a sunny day. (aside: I usually sleep on my side, so one eye is covered by the pillow and the other isn't. On a sunny morning, the non-covered eye is somewhat light-adapted whereas the other is more dark-adapted when I wake up. My green-lettered alarm clock then appears dual-colored. One eye sees the green but the other sees more yellow. Try it sometime: keep one eye covered for about 10 minutes and then look at strongly colored objects
Back to the original poster...uniformly spaced color doesn't seem like the best choice for human interface issues. But since when have computer programmers concerned themselves with human interface issues?
-----
D. Fischer
ShoutingMan.com
Good graphic design is better than no graphic design.
Useful != plain.
Useful != ugly.
Well designed sites include, but are not limited to, brochure sites.
Default background with text at the full width IS a design choice, and usually a bad one.
You can have a useful, well-organized site that people return to, AND doesn't look like it was designed by programmers who spend 14 hour days in their caves reading nothing but man pages.
* And remember, it's spelled N-e-t-s-c-a-p-e, but it's pronounced "Mozilla."
take web color choice advice from the people who built this. Right...
Cypherpunks: Civil Liberty Through Complex Mathematics. Those who live by the sword die by the arrow.
Well, that may be so, but you're still approximating. If your hardware is playing the closest-match game, you have the same problems of consistency you did when your software was playing it.
I would just like to say: way to know your shit!
There's something to be said for mathematical simplicity... if we were to distribute colors on a specified curve rather than uniformly, CRT and video card manufacturers may adjust the curve slightly to make there card look "better" or more "vibrant" or whatever. What's bad about this?? Lack of consistency. Things would look even more different between different monitors and video cards. You'd then start seeing "This site best viewed at 800x600, 24-bit color on a Matrox Millenium series card on a ViewSonic monitor"... that's not cool. Even distributions are simpler to get right across the board.
"Evil beware: I'm armed to the teeth and packing a hampster!"
Lex orandi, lex credendi.
Agreed. Blending images with the background is a sign of a purely visual site. It's a good bet you'll also find pixel-based alignment (so I see narrow columns on a big monitor, but have to scroll side to side on a small monitor), screwy fonts, and not much more than a hundred words per page.
(Yes, I see the rounded borders on Slashdot. Don't even get me started on Slashdot's design.)
System: FreeBSD running XFree86 3.3.6 at 16BPP on a S3 ViRGE/DX
Browser: Netscape/Linux 4.75, Mozilla recent snapshot
I see no squares on the test page.
Glückwünsche, haben Sie Slashdot ermordet, indem Sie zum korporativen Druck beugten und Subskriptionen einlei
I do remember not long ago when they put out great, useful, fresh content if not weekly then several times a month. It was a daily must-read.
Then came Lycos. Now the site rotates in content from months ago to keep up the appearence of "fresh" content, and attempts to use audio and other media have only diluted what little new content is there.
Webmonkey is a once-great but dying resource. At least they still have their archive up.
But it's not just them. Builder.com has kinda dried up too. It's hard being a generalist site when good web sites require so many different skillsets these days.
I can get 22 colors to display on the 3270 and 3278 monochrome monitors running on an IBM ES9000 mainframe...I think NOT!!! Although I am amazed it has an internet connection.
Comment removed based on user account deletion
It's difficult, and those 22 colors suck. BUt if you're crafty you can avoid having the disparities by not mixing browser and gif colors.
Or you can just assume that people with 8-bit color are just used to seeing weird things like that, and get on with your life.
----
----
"I used to listen to Null Device before they sold out."
While it would be nice if there was a clear-cut way of knowing how your latest subtly-beautiful-pastel creation was going to present itself to any given web user, perhaps what one might best do it to look at the weblogs and see the os/browser combo's that hit your site.
It may seem incredible to you and I, but some folks do not upgrade their equipment on a quarterly basis. Even more shocking, these folks may not even change their factory settings!
My solution? Cover your desk with computers, load 'em up with partitions, and when you design your site, QA as you go. Frustrating? Yes. Slows you down? You bet. But you end up knowing how most folks see your site.
Alternatively, you can program your site in XML, and have Gemstone belch out a different version of you site for each level of platform/os/browser. Joe K~
Helvetica
--
"No se rinde el gallo rojo, sólo cuando ya está muerto."
$HOME is where the
-- silver_p
What ever happened to content being king? Let's see, I could spend my entire work week worrying about and tweaking graphics that are only by sheer chance going to look exactly the same on any two computers and completely ignoring the fact that I have no content. Or, I could put those same 40+ hours into generating useful content for my web site and creating 216 color graphics simply accepting the fact that no matter what I do, I won't be able to make the site look the same to everyone all of the time, but it will look acceptable to most people most of the time.
:-)
Consider the adolescent surfing or watching scrambled cable channels for prOn. Millions of colors, 216 colors, 4 colors, B&W dither; crystal-clear reception, wavy scrambled picture with audio, wavy without audio, audio only. It doesn't matter at that point, all they want is the content. It all boils down to content, folks, both pictures and non-pictures.
(And don't tsk, tsk me for the prOn bit...you know you've done it, too.
This is not an official Fugazi sig.
School also had an IBM VM/CMS mainframe as it's primary big machine (now since retired). It ran a terminal based web browser named Charlotte. Trust me, I heard it when professors couldn't browse the lists in charlotte.
The 22 colors they've found are ones that not only can be displayed without dithering, but look exactly the same whether in an image or as an HTML background. The times you'll run into problems using colors that aren't in these 22 are when you're trying to put images on that background.
For one thing, you can still use transparency safely on top of any of the 216 colors. Otherwise, you can still use all 216 colors in the foreground of the image - only the background has to be one of the 22 colors if you want it to look right.
These 22 colors include, of course, black and white, which I'm guessing account for at least 90% of the page backgrounds on the Web.
--
No more e-mail address game - see my user info. Time for revenge.
Win dain a lotica, en vai tu ri silota
I don't think I've ever used a Web-safe palette... I usually gear my sites for the upper-end of the scale (high-bandwidth, 24-bit, higher resolution), so it's never been an issue to begin with. ;>
The latest generation of Softimage renderers use a format which has a 32-bit floating point number for each color value of each pixel. Why? So realistic lighting models in radiosity renderers will work. The real world has many orders of magnitude in intensity variation. High-end animation sometimes needs to work in a true intensity space, so that sunlight and shadows are properly represented. This is necessary to make compositing work right. At the very end, there's flattening as the images are rendered for display, but in the middle of the process, you need that kind of dynamic range.
Could you make my day any worse with this news? I've had it! I'm becoming a brick layer.
If you are doing design in-house, that may be alright. But if you have been hired to design for someone else, your real audience is that person that hired you. If she thinks it looks like crap, then it does, regardless of what the world will think.
If you make your living off contract design, your audience is completely different.
wishus
Vote for freedom!
---
And I wonder why I haven't got any hits in the past six months... (Yes, I use frames, but it is lynx friendly.)
I'm trying to teach myself to set people on fire with my mind... Is it hot in here?
Actually - there are gamma conversions somewhere between the equally spaced hex numbers (which have to be equally spaced, obviously, they're integer values) and the intensity displayed on your screen.
Unfortunately, this is not the same Gamma between platforms...
I believe there's actually a gamma conversion in your video card and then another gamma conversion in your monitor, and then on some monitors the 'contrast' knob actually adjusts the gamma, but on others it's really contrast... I'm kinda surprised, actually, that they managed to find -any- websafe colors -at all- given all the variables.
Anyway, in theory, PNG is supposed to solve all these problems (at least for images), by allowing a gamma value to be attached to the image so the appropriate adjustment can be made, but no web browsers are supporting the gamma-functions of PNG, or they weren't when O'Reilly's PNG book was written.
--Parity
--Parity
'Card carrying' member of the EFF.
I have to agree about Webmonkey tho, you wonder how it could have gone so to pot, I've maybe read six articles in 2000, and all the others rotated on the front page are from 1999 or 1998
Builder is getting there. They are still a good beginner site. The real prize there is the Builder Buzz - it's a really good web dev community
----
Something they didn't really touch on is the fact that different OS, Browsers, Video Card Drivers and hardware will give different results. Case in point, a buddy of mine made a nice grey gradient for the background on his webpage. Easy on the eyes at 24bit. Bad banding on my old Matrox card at 16bit. We checked it on an old Diamond Stealth card at 16bit and it looked horrible with uneven bands with shades of green and purple in them.
Of course, it all comes down to what half of the replies to this article have said, the web is not print publishing, you cannot have pixel perfect designs for 100% of the audience. Websites that are built for standards compliance and accessibility first and eye candy second will always be more robust in face of alternative browsers and browsing platforms.
Bleh!
Never Twice the Same Color (prob. referring to the inevitable drift of a analog tint control)
Although drifing off-topic, but still very geek, I've always heard it as "Never The Same Color", which rolls off the tongue better.
DeepGeekStory: Most people have heard of the Rocky Horror Picture Show, where people get dressed up, throw rice and toast, and yell lines at the screen. Fewer have heard of the little known sequal (sorta) titled "Shock Treatment". People also get dressed up as characters in Shock Treatment, act out the parts, and yell lines.
One song (Looking for Trade) is filmed under red light with red walls, with white spots of color. A friend yells the line just before the song starts: "Hey, Show us your complete disregard for the NTSC format!!". Of course, on televisions (including projectors, which is how we were watching the movie), the red smears and blurs across the screen because of NTSC's lousy color signal handling.
ObObservation: Could you ever have a NTSC colour signal? Or would be oxymoronic, like a PAL color signal?
--
Evan
"$30 for the One True Ring. $10 each additional ring!" -- JRR "Bob" Tolkien
I've put a 24-bit BMP screenshot of the results here (a 3.8MB file)..
Looks like color is handled very differently in NT4 and in 95/98. I'm just shocked, shocked I say, that Microsoft would be inconsistent...
if you take a look at the experiences
the people at http://webstandards.org/
made with similar promises from microsoft
one can not be so upbeat about them
helping fix the colour problems anymore.
kind regards philippe
First of all, you're completely missing the methodology of the testing procedure (as are many other Slashdot readers). You're also assuming that they displayed the color on two separate machines simultaneously with different versions of a browser and just eyeballed 'em to see if they looked the same. This could not be further from the truth. From the article:You can look at the te st page to see what they're referring to (I'd suggest dropping down to 8-bit/256-color to get the point).
It has nothing to do with colors not looking quite right from one videocard/monitor/OS to another, it's all about the way the browser/OS match colors. That is, if you tell the browser to display #CCFF66 in 8-bit mode, it has to find the closest match that's actually in its available palette. Here is the problem: some browsers might determine that the closest match is #CCFFFF and some might determine that the closest match is #CCFF00.. and then when you throw in a GIF that's supposed to be the same color, your computers tends to use a completely different "algorithm" for determining how to match the GIF's color. So, the actual internal HEX value associated with a single-color GIF that's #CCFF66 and a section of a page with BGCOLOR set to #CCFF66 might not be the same on two different browsers. It is a tangible and measurable difference in values.
This isn't some sort of video-dependent thing or weird, quirky phenomenon that just makes colors "kinda look different." There is a qualitative variation in the way that colors are selected, regardless of how similar (or different) they might appear, depending on your monitor.
Although you could test more browsers and operating systems (this test was only concerned with Windows and Mac), there is nothing arbitrary about these 22 colors.
In fact, JPEG relies on perceptual coding, so that the perceived effect of the lossy algorithm is minimized.
The exceptions to the rule are SGI machines (which were designed with ray-tracing in mind, so they assume physical coding in the frame buffer and use gamma correction to convert to perceptual coding) and Macs (which have a gamma correction intended to mimic the dot gain of the original Laser Writer.)
For more than you ever wanted to know about gamma, see Charles Poynton's Gamma FAQ and the sRGB proposal.
Wish I could claim some kind of freak genetic abnormality that allows me to remember obscure stuff, but in reality, I fought with it for over a week trying to get Photoshop 5.5 to work as well as 5.0 did for me. It's hard to forget such pain.
Potato chips are a by-yourself food.
There are other issues too, the human eye is very perceptive to green, more so than red and much more so than blue A truly good palette must take this into account. The thing is, once you get a palette, their always the same size (256 * 3) so you could tune it if you wanted.
As far as the color of "white" light goes, ask any photographer what a pain that is. The human eye adjusts to the holes in the light (not enough blue to be white for example) but the camera doesn't.
That's exactly what the friendly folk at Microsoft are trying to do.
Whoa, put away the flamethrower! I did indeed read the article. If I made a couple of mistakes, it doesn't mean I'm "off the charts." Because I wasn't entirely in error. Let's assume, for now, that it does indeed have nothing to do with hardware (caveat: keep reading). Even so, the 22 colors under discussion might not be right in your environment, because how many of us are using one of those browsers (NN, IE) on one of those platforms (Win, Mac)? Lots, but probably not all. So the color matching on your chosen platform (Linux, and HP like the parent post said) might be different yet again. Even without taking hardware into account, there are tons of variations that the article didn't account for. So, there's essentially no web-safe palette, at all. You could probably scope out your demographics, discover that ~50% of people are using some IE variant on win9x, and create a "web-safe-enough" palette.
But, if hardware makes no difference, then what about this (from page 5 of the article):
Admittedly, we got different results in what would seem to be the same conditions: one Win9x machine would fail for a color, and another such machine wouldn't. We decided to play it safe. Really safe. We found that only 22 of the 216 colors we began with did not end up being shifted incorrectly in at least one viewing environment...
And then they linked to the "reallysafe palette" from there. Why would windows machines with (presumably) similar software setups behave differently? Isn't it possible that it's somewhere in the video driver, and therefore at least partly hardware dependent?
Apparently you didn't read the article. The biggest incompatibility is trying to present colors the same to both High Color(15 and 16 bit) and True Color(24 bit). Even if you leave the old 8-bit browsers out of the picture, you have to contend with the fact that there is no compatibility between High and True Color. There is no overlap: if a color is represented in True Color, by mathematical definition it is not represented in High Color.
Seeing as how ~56 percent of people use High Color and ~38 percent use True Color, you've got a real problem there. You cannot present the same high-quality image to both audiences. Getting rid of High Color settings would largely solve the problem, but unfortunately, these people are in the majority.
No, Thursday's out. How about never - is never good for you?
I agree 100% with this post. The explanations of your comments that were previously just generalizations are much more intellectually satisfying. Thanks for the reply.
passable monitors are still upwards of $200 US.
[|]
Web design has a lot more in common with video production than it does with print. About the only thing that seems to be a constant are the marketing rules: "if you don't see it in the first ten seconds, it doesn't matter", and "if it isn't on the first page it doesn't count".
I think the only solution is to have manufacturers build PC's and monitors that only display Pantone colors. We know what is good for the people...
*whup* "Get along, little electrons. Heeyah!"
Color management and font management are the two most difficult aspects of a graphic interface. However, while slight variations in colors are regretable, they are not essential, so I think that the best strategy is:
OMFG -- will you people just give up on lynx already?
If you don't have the bandwidth, get a new modem. I've had 256k or better access at work and at home for the past three years, with the exception of the time when I moved and the telco wouldn't install DSL for a month or so. I had to borrow a friend's cheap ass 56k WinModem, and it wasn't that painful. Surf with images turned off if you really don't need them.
If you don't have the horsepower to run a piece of software, get a new computer. Barebones K6-2's are out there for $100.
If you don't have the RAM, may I remind you that you can squeeze by with just 16 MB, and even if that is unbearable, invest another $20 to double that amount! If you can't expand, see above.
Altruism is not an excuse anymore. Mozilla is GPL -- download it, build it, and run it. See pages in the form HTML intended!
Nobody is impressed with your 1337 h4x0r ski11z. Lynx doesn't offer anything close to the functionality of lesser GUI browsers. It's one step short of WGET. Using lynx on today's web looks as smart as riding a banana seat Schwinn up a switchback mountain bike trail.
You don't have to have a pitiful system. You're a technogeek, aren't you? I'm sure you can afford it. I have a friend whose company is throwing out Pentium 75 systems as we speak.
On the information superhighway, just like any other highway, you either keep up with traffic or get the fuck off.
--
"A witty saying proves nothing" - Voltaire
Most (all?) video cards only have 8 bit DACs and dither in the lower few bits for hicolor. So there is an exact match between any 15/16 bit color and a 24 bit color. It just might not be what you think it is.
--- If stupidity got us into this mess, why can it get us out?
I've tested my site with every browser/palette/os/configuration I can find, and I think it looks pretty good on every single one. (Yes, even Lynx!) If anyone checks out this site and finds something amiss, please let me know. My goals is that *anyone* can read and use this site. It's pretty basic, but it's valid HTML, very functional and loaded with content. Content is *still* King.
Love 'em all and let God sort 'em out...
Can you imagine the razzle-dazzle it did on NTSC???
In the article they mention different 16bit machines behaving differently. This is (at least partly) because 16bit color on Windows sets the system palette to represent the background image as well as possible. If you have different background images, the machines will have different system palettes.
There shouldn't be any complaining about a lack of standard. Pretty much every new video card can display 24bit color at resolutions above and beyond monitor technology. 16bit was just a temporary midpoint in the evolution of graphics cards to true color. Though it will take a while, color compatiblity debates will become less important. Taste is a different matter...
There are only TWO really web-safe colors - black and white. Wait.. on old monochrome monitors those'll be black and some other color, which may not be white.. I guess the only websafe color is black. -Dexx
Feel the fear and do it anyway.
As soon as I saw 'webmonkey' and 'Razorfish' I knew where this was going. I've got to join the chorus singing "design for standards, usability, and accessability" and just nod my head and smile at the pixel perfectionists. As I've said for years, the Web is NOT a book or magazine, and treating it like some jumped-up animated version of said media is a dead end.
Cases in point:
When the photographic process was invented, it was treated as just a new kind of painting or drawing. Fortunately there were experimental people who realized that it was a new medium with new rules.
When moving pictures were first invented, early films were made of stage plays. One camera, mounted in front of the center of the stage, never moving. Thankfully directors and cinematographers figured out rather quickly that this is horribly boring.
25 years from now we'll be saying that when the web was invented people treated it like a book or magazine, or maybe a little like TV. I predict that 25 years from now we'll consider these concepts quaint early forays by curmudgeonly glue-stained and Xacto-nicked designers.
I have my foreground colour set to the colour I like. I have by background colour set to the colour I like. I have set the typefaces to ones I like the look of.
A web designer attempting to force thier own preferences on me will either produce a web site of equal quality, or lower quality, than if you just left it alone.
If you don't waste time fussing about how it will look, you can instead work on the interesting stuff. That will produce a higher quality web site.
Bill, has slashdot in "light mode" because it works better in Netscape.
Any monitor can display any color depth. The IBM 8514 would be perfectly happy running 1024x768 interlaced at 24-bit color as opposed to the 256 colors it was designed for. So the $30 graphics card could display true color on the oldest VGA monitor in existence. Resolution, however, is dependent on the monitor. But it is possible to design web pages that look good at multiple resolutions. WIDTH=pixels is your enemy. WIDTH=percent is your friend.
Fun read, and interesting results on the actual tests, but really, these people haven't thought this through. Look at this paragraph:
In other words: There are no shared colors between high color (15- or 16-bit) and true color (24-bit) depths. 24-bit is the full palette, and this is the palette we use with design programs such as Photoshop. 8-bit is a subset of that 24-bit palette. The old 216-websafe palette is a subset of the 8-bit palette, identified for browser and operating system compatibility. But the 15-bit and 16-bit palettes are not subsets of the 24-bit palette; they are entirely distinct palettes. So no matter which color you choose when you're designing (excluding black and white), you cannot choose a color that exists both in the 24-bit palette and in either the 15- or 16-bit palettes.
Of course, that isn't true. For simplicity, I'll stick to the 15-bit palette in this argument, but it applies equally to 16 bits, where one component (usually green since it carries more luma) gets an extra bit.
It is true that it is potentially hard to determine which color at the 24-bits of resolution corresponds to the 15-bit representation; that is vastly different from their statement that there are no colors in common between 24 and 15 bits (5 bits per component).
Part of it is that they assume they're in an ideal (almost analog) world, where they ask the magic box in front of them to put a pixel in the screen in a particular color and the machine will give them exactly that. They think, for example, that if they ask for the 15-bit color 00000/00000/00001 (RGB), they'll get a pixel on the screen which has 0.39216% of blue and no red nor green. Of course, whether that happens depends on the hardware, and in any hardware with 8-bit-per-component DAC (most if almost all), that simply won't be the case. That blue component will be extended to 8 bits (somehow, see below), a color with a perfect match in the 24-bit palette, which they claim does not exist.
When you expand a 5-bit value into 8 bits, you basically append 3 bits at the bottom; the question is what to append. Neither all zeroes nor all ones will work, since you want 00000 to expand to 00000000 and 11111 to expand to 11111111. The simplest answer is straightforward: you expand by taking the 3 most significant bits of the 5 bit number and appending those. You can also use look-up tables, or other more complex methods. But at the end of the day, in lots if not all of cases, you end up with an 8-bit-per-component 24-bit value, derived directly from the 15-bit value.
The sad thing is, a fair bit of the rest of the article derives from this incredibily basic misunderstanding, and their tests and conclusions do seem interesting even if their reasoning is broken.
But spooky, really; these people are Senior Designers at Razorfish? Yowza.
*sigh* Billions of dollars of research, uncountable hours of programming, 20+ years of innovation... and the web falls short of your average box of crayons.
And last time I checked, crayons tasted better, too.
---
why can't we just get someone to work with a valid 24 bit color palette? This 256 color crap sux... I want my full 24 bits damnit... oh well... guess I'll stick with Grayscale for now... sigh
Your statement about perceiving green most strongly is not quite true. We tend to perceive high inensity red strongest, followed by most of green and then blue. If you look at real landscapes, the sky blues are quite constant compared to green plants but small amoutns of red stand out. I seem to remember seeing where out blue sensitvity is something like 1/3 to 1/10 of the red/green while red and green are about the same but have different gamma curves.
Paletts were an optimization, not a kludge.
They are very useful at reducing the number of bytes per pixels that have to be moved.
Now let me get this straight, there are 11 million+ regular internet users and at least 90% of them have a video card capable of 16bit color. So I should limit my webpage creativity by only using 22 colours. Yeah right. The most important thing is to ensure that your websites work in most any browser. The websafe pallete is like, so 96 man...
A slashdotting - you get the stick first and then the carrot !
CSS was implemented because HTML was never meant to be used for page layout. And every CSS-supporting browser I've seen lets you turn it off, allowing you to make anyone's Web site look silly on your system if you want.
-jon
No big revelations on the websafe colours front, but something I don't know is websafe fonts.
:)
"helvetica, arial, verdana, sans-serif"
is the only one I know off the top of my head, are there any others? You could crawl even deeper into the pit with websafe font sizes, Netscape on Linux being the main offender - and while were at it I wouldn't mind a list of websafe HTML either
[Lynx users need not reply]
Set the fonts to generic families like serif, sans-serif, or monospace. It's the safest way. You can use fantasy and cursive also, but YMMV.
Defecation occurs.
If accessibility is your goal, I highly recommend you visit Bobby.
Bobby is a webbased app that will check your pages for accessibility.
Defecation occurs.
Isn't "white" light defined to be something with the smae power spectral density of an object heated to a specific temperature? I thought it was 6304K (10888F/6031C), but I just looked at some stuff on the net, and now that number seems too high. 3500K seems to be defined as "white". Anyone know the real deal?
Just because it CAN be done, doesn't mean it should!
What about people using Palm Pilots?
... and Pocket PC : that's what AvantGo is here for, but then people seriously considering distribution should have specially-designed for AvantGo pages (this is where having a DB driven site comes in handy !!)
Or web-enabled phones?
Ever heard of WAP ?
Now the Web is made for devices with 640x480 minimum display. That's maybe not in the W3C specs but that's how it is... pages made to be readable both on a 1600x1200 screen and on a cell-phone will look ugly on both.
On a side-note, I wish web designers would stop using fixed sized fonts and, worse, fixed sized tables. It's always silly when you read an article formatted in a fixed width table that makes it look like a thin line of text in an ocean of white on your 2048x1536 desktop !
Hi, I can explain this:
:), you can easily explain why the new web-safe palette is greenish:
"As far as we can tell, it is indeed a bug that GIFs and code-generated color do not always get shifted to the same value at High Color depths. There doesn't seem to be a technical reason for this, since some of the browsers we looked at handled the situation perfectly fine.)"
There is a technical explanation for this:
In VGA 256 color mode on a PC (I don't know about Mac), you can define each of the 256 entries. In your article, you say that these 256 colors are chosen out of 16M (=2^24) colors. This is wrong. VGA adaptors enable you to choose from only 262144 colors (There are only 6 bits per channel, and not 8). So, for each of the 3 components (R, G & B), you may choose from 64 (=2^6)values. 64*64*64=262144. Only 18 out of 24 bits are actually used.
The reason why VGA cards are like this if probably because of the RAMDAC technology that was available back then. (Feel free to correct me on this one...).
Now, assuming I am right (which I am
The 16 bit color mode (65536 colors) uses 5, 6, and 5 bits for the Red, Green and Blue channels respectively. Since the 256 color mode and the 16bit mode both use 6 bits for defining the green component of a color, they match perfectely. Then, you can add pure Red & pure Blue. Also, mixes of the 3 primary colors match perfectly: Cyan, Magenta, Yellow, and White.
So your web-perfect palette is comprised of Black, 5 shades of green (including pure Green), pure Red & Blue, Cyan, Magenta & Yellow, and Last but not least, White. That's a grand total of 12 colors.
The reason that you have 22 is probably because you added 5 shades of near Green Cyan and 5 shades of near Green Yellow. These colors, If you check again, should not be a perfect match.
Of these 12 colors, only the pure colors (White, Black, R, G, B, C, M, K) can be rendered perfectly on a 24 bit output. The green ones however, can be considered close enough to be called a successful match. A 1 bit color fluctuation is hard enough to detect on my LCD...
On a finishing note, the reason why Green inherited the 16th bit in 16 bit (5-6-5) is because it's the color out of the 3 primitives that the eyes percieves better. Our eyes respond very sensitively to green. Probably because all the cavemen who didn't see green properly died in foot-powered car accidents involving trees, thus removing them from the gene pool...
Over & out.
J:P
--- Worst tagline ever.
TV is responsible for starting many fashion trends, but AFAIK, it's only stopped one -- herringbone tweed. It does a wicked razzle-dazzle on TV. A friend of mine, whose band recently made a TV appearance, purposely had the band dress up in herringbone and horizontal pinstripes as a little prank.
The plot of brightness is actually a curve with a function "(x/255)^G+K" where G is about 2.3 for your normal crt (K is the brightness of the dark screen).
It just so happens that this curve very closely matches the human eye's color sensitivity. Thus each different numerical value results in approximately equal differences in perceived color.
LCD screens do not naturally have this response, but the manufacturers have been forced to copy it to make displays designed for CRTs look correct.
A big problem with CG is "partially clued" people that are aware of the screens non-linear response, but think that linear response will result in better pictures. They adjust the software or the D/A converters for this and actually produces worse output, where there are noticable steps in the black and many indecipherable values crammed up in the white end.
PC manufacturers, being cheap, have not done this, and actually resulted in better color. Macs and SGI workstations suffer from default settings that try to "solve" this problem.
Most video cards use an 8-bit D/A converter, since they can be switched to some 8-bit (24 bit in PC-speak) mode. (some older cards use a 5 or 6-bit converter so that 8-bit mode is actually a waste of memory!) They almost certainly pad the 5 or 6-bit data with 1 or 0 to get the 8-bit input, or they might copy the top 3 bits to the bottom.
Perhaps more important is that this difference is miniscule compared to normal differences between CRTs and brightness settings and D/A errors.
It's probably my monitor/video card but I see no difference between xxyy00, xxyy33, and xxyy66 (for any position of xx,yy,nn). Monitor Mag MX-21F Video card ATI All-In-Wonder 128 Pro PCI
"Web safe palette" is mostly safe only for Windows and Mac. In many Unixes the X is using so many colors (for pixmaps etc.) that there is too few colors left and 5*5*5 or 4*4*4 colors will be used instead of 6*6*6. These two palettes share 8 safe colors (#000000, #FF0000, #FFFF00, ...). These are the only safe colors...
I'm not sure if there are any guidelines in the ADA, but w3c has guidelines:
http://www.w3.org/TR/WAI-WEBCONTENT/
"I have no special gift, I am only passionately curious." - Albert Einstein
I have a solution. It's called ColorSync®.
Works great for my website. The only drawback is that viewers must have Apple ColorSync (Mac/Win).
But it's a wonderful system.
The next comment I write will be ready soon, but subscribers can beat the rush and see it early!
I want, as it was aptly put in some slashdotter's sig, is for lynx to cost a dollar and be called Weaselicious.
--
I only post to slashdot when I'm sleep deprived.
"My religion is to live --and die-- without regret." -- Milarepa
Stop making pretty colors cover the fact that you have no content and actually give me some meaningful information.
Hmmm.... the proliferation of themes/ skins/ cutsie little icons in the open source world suggests that that it's a bit hypocritical for some members of the slashdot community to have a rant about design in general... they obviously like a bit of pretty colour in their lives.
Functionality is the key but colour and layout can make information meaningful rather than just detract from it. Is it a suprise people want to achieve this in web based media?
Thanks. I'm not colour blind but I always wondered what that flickering was.
--Giving to trolls for the benefit of us all
Yes, in Canada we spell it 'colour'.
---
I gave up on sticking entirely to "web-safe" colors about a year ago. My current strategy is to design the site with the colors I want, then down-shift to lower bit resolutions to see if the result is just too ugly to stand. If so, I go back and tweak a color here and there until the ugly level decreases to a tolerable level. Small color changes can make a big difference.
I always warn clients upfront about the color problems (and we haven't even mentioned print yet!).
"We receive as friendly that which agrees with, we resist with dislike that which opposes us" - Faraday
also happens with gif.
:)\n"
if ($user =~ m/shaldannon/i) {
print "\n-- $user
}
What is your Slash Rating?