Re: syntax for the color property


Subject: Re: syntax for the color property
From: Frodo Looijaard (frodol@dds.nl)
Date: Wed Jan 10 2001 - 15:08:27 CST


Paul Rohr wrote:
>
> Sounds like somebody needs the same bit of code that all web browsers have.
> You need to discriminate between two disjoint sets of color specifications:
>
> - six characters that look like hex
> - a discrete match in some lookup table

Ehm, stupid question maybe, but why is the current way of specifying
colors (through hex RGB) not good enough in all cases? Why would you
ever want `blue' in the fileformat, instead of `00ff00'? I just don't
see any advantage in this. I mean, the whole file format is low-level
nitty-gritty stuff, so why add abstraction only for color?

Just wondering,
  Frodo

-- 
Frodo Looijaard <frodol@dds.nl>  PGP key and more: http://huizen.dds.nl/~frodol
Defenestration n. (formal or joc.):
  The act of removing Windows from your computer in disgust, usually followed
  by the installation of Linux or some other Unix-like operating system.



This archive was generated by hypermail 2b25 : Wed Jan 10 2001 - 15:08:37 CST