W3C home > Mailing lists > Public > www-svg@w3.org > June 2000

Re: inverse colors

From: Chris Lilley <chris@w3.org>
Date: Thu, 08 Jun 2000 23:35:17 +0200
Message-ID: <39401195.6A88E832@w3.org>
To: Justin Friedl <justin.friedl@aspentech.com>
CC: "'www-svg@w3.org'" <www-svg@w3.org>

Justin Friedl wrote:
> Is it possible to inverse(negative) colors.  For example:
> I want to put text over several different colored rectangles. I don't know
> in advance what thos colors will be.  Is there any way of taking an inverse
> of the rectangle color so that the text can be seen on top?

Not declaratively, no. It can be done through script, if you know which
rectangles are involved.

You can also do things with filter effects, or with semi-transparent
rectangles behind the text, that make text more legible against arbitrary
backgrounds (including pattern filled and image fille dbackgrounds).

Received on Thursday, 8 June 2000 17:35:25 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:46:48 UTC