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

Re: Relative colours in CSS?

From: Bruno <bruno@teraram.com>
Date: Wed, 20 Dec 2000 16:01:41 +0100
Message-ID: <002501c06a96$b5572600$238b1dc3@paradiso>
To: "Clover Andrew" <aclover@1VALUE.com>, <www-style@w3.org>
> 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 10:09:08 GMT

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