W3C home > Mailing lists > Public > www-style@w3.org > December 1997

RE: Cascading Style Sheets

From: Chris Wilson (PSD) <cwilso@MICROSOFT.com>
Date: Wed, 3 Dec 1997 09:42:28 -0800
Message-ID: <C35556591D34D111BB5600805F1961B908DE3E@red-msg-47.dns.microsoft.com>
To: "'Steven Pemberton'" <Steven.Pemberton@cwi.nl>, Space Cowboy <spacecow@mis.net>
Cc: Chris Lilley <Chris.Lilley@sophia.inria.fr>, www-style@w3.org
Hmm, yes - well, I also argued that the difference between support for the
16 named colors in the CSS specification and the 139 colors that are
"current practice" (as supported by Netscape and Microsoft for a couple of
years now) was under 1k of bits (123 additional colors * (4bytes hash of
name + 3 bytes RGB value + 1 byte because most systems align on word
boundaries) = 984 bytes), and lost as well.  HSL is 10 lines of code,
Crayola is another ~k, ...

The message was "color models are easy to implement in the authoring
environment, where they won't impact the bottom line for CSS
implementations," not "there's no demand for color models other than RGB."

Chris Wilson

> -----Original Message-----
> From:	Steven Pemberton [SMTP:Steven.Pemberton@cwi.nl]
> Sent:	Wednesday, December 03, 1997 3:54 AM
> To:	Space Cowboy
> Cc:	Chris Lilley; www-style@w3.org
> Subject:	Re: Cascading Style Sheets
> Chris Lilley writes:
>  > And yes, the conversion from HLS to RGB is like 10 lines of code.
> Space Cowboy writes:
>  > 10 lines in what language? I must write terrible code!
> See http://www.cwi.nl/~steven/css/hsl.html. It's 16 lines there, and I
> could rewrite it in 10, though it would be less clear what it was doing.
> Best wishes,
> Steven Pemberton, CWI, Amsterdam; Steven.Pemberton@cwi.nl
Received on Wednesday, 3 December 1997 12:48:21 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:45 UTC