Scott M. said:
Well sorry, but it is a factor. If you have a video card that only knows
how to display 256 colors, then you aren't going to get Gainsboro.
No, you don't get Gainsboro. You get something that is converted down.
Still, the video card has no impact to the generation of the website. The
browser takes the value Gainsboro and converts it to some color that is used
when rendering the page. Get it? The browser takes care of the colours,
the video card just display's what it is given.
And, what web standard would that be? There are the colors defined as the
"Web Safe" colors and, yes, these colors do have names associated with
them. But the translation of those names into RGB values is in no way
guaranteed to happen in the same way from system to system.
You're missing the point. The browsers *rendering engine* is responsible
for displaying the web page. If its a known colour in, say, CSS, then the
browser will know what to do with it, and display it appropriately.
Stop right there. If you look at the resulting output, you will see that
it is not only HTML, but could also consist of CSS, static text and
JavaScript depending on the Web Forms control you were using. And, in
this example the resulting code would contain NOT the RGB value, but a
CLIENT side reference to Gainsboro. Try it for yourself and see.
So you get CSS and static text? So what, I missed a couple of TLA's? The
end result is something that gets interpreted by the browser. I am trying
to make the distinction between server side and client side processing.
Gee, that sounds like what I said.
Yes, I am reiterating the fact, which I thought would be prudent, given that
some of the earlier stuff that you wrote was confusing, and not related to
the problem at hand.