Where do I find a list of color names which Zope recognises? I tried RGB.TXT from XFree86 but that was not definitive. I don't suppose there is a color wheel hidden away in ZMI anywhere is there... -- John
Where do I find a list of color names which Zope recognises?
People recognize colors when their browser/user-agent renders them.
I don't suppose there is a color wheel hidden away in ZMI anywhere is there...
What I think you're looking for is information on CSS colors, which are GRB hex. I'd avoid using color names, and use the hex values instead, like #ccc This is a good color tool for use from within Zope: http://www.mxm.dk/products/public/colorz_skin/ -- David Siedband generation-xml.com
On Sun, Nov 28, 2004 at 11:43:12PM +0000, John Poltorak wrote:
Where do I find a list of color names which Zope recognises?
I'm pretty sure that there is nothing in core zope that knows anything about colors whatsoever. -- Paul Winkler http://www.slinkp.com
On Sun, Nov 28, 2004 at 11:32:26PM -0500, Paul Winkler wrote:
On Sun, Nov 28, 2004 at 11:43:12PM +0000, John Poltorak wrote:
Where do I find a list of color names which Zope recognises?
I'm pretty sure that there is nothing in core zope that knows anything about colors whatsoever.
So when I specify something like 'red' for backgroundColor is this simply a directive to the browser? This begs the question - is there a standard set of names for colors accepted by all browsers, or can PowderBlue mean one value on IE and a different one on Mozilla?
--
Paul Winkler http://www.slinkp.com
-- John
John Poltorak wrote:
On Sun, Nov 28, 2004 at 11:32:26PM -0500, Paul Winkler wrote:
On Sun, Nov 28, 2004 at 11:43:12PM +0000, John Poltorak wrote:
Where do I find a list of color names which Zope recognises?
I'm pretty sure that there is nothing in core zope that knows anything about colors whatsoever.
So when I specify something like 'red' for backgroundColor is this simply a directive to the browser?
This begs the question - is there a standard set of names for colors accepted by all browsers, or can PowderBlue mean one value on IE and a different one on Mozilla?
That has nothing to do with Zope, it is a HTML issue. In HTML the following 16 color-names are defined: http://www.w3.org/TR/REC-html40/types.html#h-6.5 HTH, Wolfram
John Poltorak wrote:
So when I specify something like 'red' for backgroundColor is this simply a directive to the browser?
This begs the question - is there a standard set of names for colors accepted by all browsers, or can PowderBlue mean one value on IE and a different one on Mozilla?
Some colors are defined for css: Amasingly I got lucky at google with "css color names" ;-) http://www.w3schools.com/css/css_colornames.asp -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science
On Mon, Nov 29, 2004 at 02:43:40PM +0000, John Poltorak wrote:
So when I specify something like 'red' for backgroundColor is this simply a directive to the browser?
Yes. *everything* in HTML and CSS can be thought of as "simply a directive to the browser." Anything that is a directive to the server must be something other than HTML or CSS: e.g. in zope you have dtml tags, TALES expressions, etc. In other systems you have SSI (apache), PHP tags (php), etc etc. What all these systems have in common is that the instructions to the server are parsed, processed, and are never seen by the client. This is perhaps an overly pedantic view, since there's nothing to prevent code on the server from parsing your HTML or CSS and taking some action based on the result. But that's a bit unusual. -- Paul Winkler http://www.slinkp.com
--On Sonntag, 28. November 2004 23:43 Uhr +0000 John Poltorak <jp@warpix.org> wrote:
Where do I find a list of color names which Zope recognises?
Zope has nothing to do with colors. It renders just the things that you specifiy somewhere in your code. -aj
Google for 'css color names' gives a number of good hits, but you will come across the phrase 'use of these is not recommended'. Hexadecimel is preferred (#FF00FF). Cliff John Poltorak wrote:
Where do I find a list of color names which Zope recognises?
I tried RGB.TXT from XFree86 but that was not definitive.
I don't suppose there is a color wheel hidden away in ZMI anywhere is there...
On Mon, 29 Nov 2004 07:28:08 +0000, Cliff Ford <cliff.ford@ed.ac.uk> wrote:
Google for 'css color names' gives a number of good hits, but you will come across the phrase 'use of these is not recommended'. Hexadecimel is preferred (#FF00FF).
Is hexadecimal specification of color actually "preferred"?-- I would have thought RGB(x,y,z) would have been the preferred method-- being more people friendly and universally supported.
My Two Cents, The raw color names are more widespread since CSS 2.0, there is also a CSS shorthand #FFF is equal to #FFFFFF is equal to white. My experience is you can use them all, interchangably, browsers have come along way in CSS compatibility... colors and the 216 color palette were. Problem browsers have really disappeared due to Windows Update, OSX, and Mozilla.... at least when it comes to CSS and early CSS 1.0 features like color declarations. The HTML color defs have followed suit. CSS is now worth learning, enough of it is adopted by major browsers. -Jon Cyr Brian Sullivan wrote:
On Mon, 29 Nov 2004 07:28:08 +0000, Cliff Ford <cliff.ford@ed.ac.uk> wrote:
Google for 'css color names' gives a number of good hits, but you will come across the phrase 'use of these is not recommended'. Hexadecimel is preferred (#FF00FF).
Is hexadecimal specification of color actually "preferred"?-- I would have thought RGB(x,y,z) would have been the preferred method-- being more people friendly and universally supported. _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
participants (9)
-
Andreas Jung -
Brian Sullivan -
Cliff Ford -
David Siedband -
John Poltorak -
Jonathan Cyr -
Max M -
Paul Winkler -
Wolfram Kraus