Re: New Working Draft published: CSS3 module: Color

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.

Opacity: 

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>]

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.
http://auctions.yahoo.com/

Received on Tuesday, 13 March 2001 18:41:48 UTC