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

RE: Relative colors in CSS?

From: Dylan Schiemann <dylans@yahoo.com>
Date: Sun, 17 Dec 2000 18:13:49 -0800 (PST)
Message-ID: <20001218021349.4338.qmail@web117.yahoomail.com>
To: www-style@w3.org
> A suggestion for different values:
> Brighter, decreases all RGB values by, say 5%.
> Darker, increases all RGB values by 5%.
> +red, increase Red value by 5%.
> -red, decrease Red value by 5%
> ++ by 10%.
> +++ by 15%...
> and combinations (or shorthand) +red --green
> +++blue

Something like this is pretty interesting, and
definitely useful for developers. HSL transformations
would also be appropriate in this situation.

For those that have problems choosing colors, it might
also be interesting to offer a complementary color
syntax, or other colors on the surface of a color cube
related to the color being modified.

There might also be a way to make this useful for
accessibility issues for color-blind individuals.

-Dylan Schiemann

Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
Received on Sunday, 17 December 2000 21:14:02 UTC

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