Re: Rationale for using RGB Values?

Yes, my understanding of the comment is that the 16 colours specified in CSS
are OK, but beyond that there are colours that are only sometimes understood.

Cheers

Charles

On Sun, 31 Dec 2000, Aaron Swartz wrote:

  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?



-- 
Charles McCathieNevile    mailto:charles@w3.org    phone: +61 (0) 409 134 136
W3C Web Accessibility Initiative                      http://www.w3.org/WAI
Location: I-cubed, 110 Victoria Street, Carlton VIC 3053, Australia
until 6 January 2001 at:
W3C INRIA, 2004 Route des Lucioles, BP 93, 06902 Sophia Antipolis Cedex, France

Received on Sunday, 31 December 2000 10:20:18 UTC