W3C home > Mailing lists > Public > www-style@w3.org > May 1998

Re: Gradient color

From: gordon <gordon@quartz.gly.fsu.edu>
Date: Sat, 9 May 1998 22:51:14 -0700
Message-ID: <001f01bd7bd7$a84c4e00$ecc22599@ht-server.0.0.1>
To: <Daniel.Glazman@der.edf.fr>, "gordon" <gordon@quartz.gly.fsu.edu>
Cc: <Daniel.Glazman@der.edf.fr>, <lawranc5@airmail.net>, <www-style@w3.org>


>> >  background-color : gradient(<color>, <color>, <angle>)
>>
>> It would probably be more useful with some indication of the extent of
each
>> color, i.e., percent.
>>
>> background-color : gradient(<color>, <extent>, <color>, <extent>,
<angle>)
>
>I don't understand : isn't the rgb(r%, g%, b%) functional notation for
>colours enough ? All <color>s here can be replaced by a call to this
>notation (section 4.3.6 of CSS 2).


I was thinking of something along the lines of,
gradient(#002040, 15%, #004020, 85%, 0),
rendering a dark blue into a dark green background with a vertical split
(zero degrees) where the transition between the two is at the 15/85 percent
mark of the canvas.

later,
gordon
Received on Sunday, 10 May 1998 01:51:40 GMT

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