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

Color in CSS...

From: Luis Ferro <luis.ferro@mail.EUnet.pt>
Date: Tue, 8 Aug 2000 20:15:41 -0400 (EDT)
Message-ID: <3990A27F.D2B2D1BB@mail.EUnet.pt>
To: www-style@w3.org
I must begin with a apologise, because i don't know it this is already
been in way of be addressed, because i beliave it will enhance the use
of color in CSS:

Title: Color Paletes in CSS

Objective:

	Create a way to define color usage throu a master palete that all other
color properties will use.
	Create an interrelation between color and background-color.
	Definition of a "generic" color called "Inverse" or "Negative".

Semantics:

PALETE {
	colorname1 : color;
	colorname2 : color inverse_of colorname1;
}


BODY { background-color: colorname1; color: inverse }

It's assumed that is one color is defined as inverse_of, the relation is
both ways.

With this one can define a complex CSS style system and keep the colors
in use under control in a simple and easy way. If there is need to
replace the color of a background, that is used in the body, some tables
and some other classes, then there is only needed to change it in one
location.

The addition of generic system colors like pantone and other systems
would also be benefitial. At least would help greatly the designers to
choose the colors correctly comparatibly to other publishing medias.

Thanx in advance 4 your attention,
Luis Ferro
WebDev
Received on Wednesday, 9 August 2000 09:11:48 GMT

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