Re: Rationale for using RGB Values?

Sean B. Palmer <sean@mysterylights.com> wrote:

> Color names also vary from one platform to another....Some browsers have
> chosen to support additional color names, but there is no definite list.
> Therefore, you should: use numbers, not names, for colors . Color names may
> seem friendlier than the somewhat cryptic RGB notation introduced in the
> previous chapter, but the Web has yet to see the ultimate list of color names
> that work on all platforms. Color numbers, on the other hand, can easily be
> interpreted by any browser.

Being the original commentator, I hope it's OK to jump back in. It seems to
me, from context, the recommendation is merely to use numbers when the color
is not specified by the spec. I think he's simply trying to avoid a
browser-tag-like problem where certain browsers implement extra colors and
others don't, causing incompatibility. However, as long as you use one in
the spec, it seems like you're ok, no?

-- 
[ Aaron Swartz | me@aaronsw.com | http://www.aaronsw.com ]

Received on Sunday, 31 December 2000 08:35:37 UTC