- From: Rowland Shaw <Rowland.Shaw@seagatesoftware.com>
- Date: Wed, 20 Dec 2000 16:46:52 -0000
- 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 UTC