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

RE: Relative colours in CSS?

From: Rowland Shaw <Rowland.Shaw@seagatesoftware.com>
Date: Wed, 20 Dec 2000 16:46:52 -0000
Message-ID: <81E198609B9DD311BE0A00508B5E2984C98B1B@ipsent02.camelot.seagatesoftware.com>
To: "'www-style@w3.org'" <www-style@w3.org>
then you can do funky things like redefining red... I like it :o)


-----Original Message-----
From: Bruno [mailto:bruno@teraram.com]
Sent: 20 December 2000 15:02
To: Clover Andrew; www-style@w3.org
Subject: Re: Relative colours in CSS?


> The obvious syntax for this would be an at-rule to extend/replace
> the built-in colour names, eg.
>
>   @color {
>     color-name: skin;
>     color-base: rgb(253, 210, 189);
>   }
>
> I suppose one might also be able to fit the 'relative colours'
> idea into this sort of syntax, something like:
>
>   @color {
>     color-name: bruise;
>     color-base: skin;
>     color-value: darker; /* or -n% or an absolute value */
>     color-hue: 153;  /* IMO HSV is a more useful model than RGB */
>   }
>

I just want to say that I agree with Andrew, this at-rule for colors is very
inventive, good job Andrew, and you have my vote for colors to be put in
CSS3.

------------------------------------------
| ---:[ TeraRam Web Studio ]:---
| Web: http://teraram.com/
| E-mail: bruno@teraram.com
------------------------------------------
Received on Wednesday, 20 December 2000 11:47:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:06 GMT