W3C home > Mailing lists > Public > www-style@w3.org > March 2001

Re: New Working Draft published: CSS3 module: Color

From: Dylan Schiemann <dylans@yahoo.com>
Date: Tue, 13 Mar 2001 15:41:40 -0800 (PST)
Message-ID: <20010313234140.14739.qmail@web108.yahoomail.com>
To: www-style@w3.org
Hi all,

I have some more feedback about the color module.  The
first is a question about opacity, and the second is
an alternative to the proposed X11 named color set.  I
look forward to your comments.


Why does opacity not apply to a color directly? As it
is, it only applies to an element. If you want the
color of an element to have one level of opacity, but
the background-image to have another opacity, it
doesn't seem possible with the current specification. 

Named Colors:

The syntax of the names would be as follows:

[[<lightAdjective> ]? [<saturationAdjective> ]? |
[<shortcutAdjective>?]] [<namedColor> ]?

namedColor is one of the 16 named colors in the spec.

The use of two named colors would result in the color
with a hue that is intermediate to the two.  For
example, redYellow would give orange.  Since orange
seems to be the only color not in the 16, it could be
added to give 17, if desired.

The adjectives are ways to modify the saturation and
light of a color.  

<lightAdjective>: normal | none | full | light |
lighter | dark | darker

<saturationAdjective>: normal | none | full | bright |
brighter | dim | dimmer

Shortcut adjectives would be predefined combinations
of light and saturation, such as metallic, neon,
pastel, etc.  This list could be much longer.

While this system is certainly not perfect, it is more
consistent than the 140 names in the proposal.  If
people are opposed to a system that is based on hsl,
perhaps they could come up with an analog based on
another.  The idea was a modular set of adjectives and
nouns which could be used together in any combination.
 This way you don't have to know that the prefix
"Dodger" applies to only the color blue, for example.
(the Dodgers fan who originally added this one must be
smiling out there knowing this arbitrary choice of
names has lingered on and is now possibly going to be
part of a spec.) 

I think something most consistent like this would be
much more beneficial, and less bloated, than the X11
draft, even if it is different than what is part of
today's browsers.

-Dylan Schiemann 

Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.
Received on Tuesday, 13 March 2001 18:41:48 UTC

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