Click to See Complete Forum and Search --> : Proprietary Color Names
davidjam
02-24-2005, 10:36 AM
Hello,
I'm currently working my way through Meyer's CSS - Definitive Guide (by O'reilly) and he mentioned that a color such as lightgreen "works because most web browsers recognize as many as 140 color names, including the standard 17."
Does anyone have a link to this list? I tried this one: Web Reference (http://www.webreference.com/html/reference/color/propcolor.html#HEAD-2) but it doesn't appear to be a complete list. Also, does anyone know of the browser compatability with these named colors...?
laserlight
02-24-2005, 10:42 AM
The list of standard colour names (http://www.w3.org/TR/html4/types.html#type-color)
A list of colour names supported by 'most' browsers (http://www.w3schools.com/html/html_colornames.asp)
davidjam
02-24-2005, 11:57 AM
Thanks, that's just what I was looking for. Apparently CSS3 is going to standardize this list as part of the specification. It's certainly a lot easier to say "aliceblue" than #f0f8ff or rgb(240,248,255)!
pohopo
02-24-2005, 01:37 PM
i never liked the color names. And in the future every computer will have at least 64K colors so why limit yourself to just these.
bubblenut
02-24-2005, 03:04 PM
For the same reason we use variable names rather than memory addresses. It makes reading the code far easier and makes their purpose/effect easier to determine. I've been working with sRGB values for a few years now and I still can't tell what colour it's going to be by just looking at the sRGB value.
Weedpacket
02-24-2005, 07:34 PM
Originally posted by bubblenut
For the same reason we use variable names rather than memory addresses. It makes reading the code far easier and makes their purpose/effect easier to determine. I've been working with sRGB values for a few years now and I still can't tell what colour it's going to be by just looking at the sRGB value. Ah, but after all it's more important to be able to go the other way (http://www.phpbuilder.com/board/showthread.php?postid=10389670#post10389670).
vaaaska
02-25-2005, 04:40 AM
Just yesterday I started thinking what would happen if I made up colors...what would they be?
#kckass
#diedie
#fckyuu
#moronn
Etc...
I haven't tried this yet though... ;)
Edit: these are all basically = #000000.
Thanks, that's just what I was looking for. Apparently CSS3 is going to standardize this list as part of the specification. It's certainly a lot easier to say "aliceblue" than #f0f8ff or rgb(240,248,255)!
The css3 guy who was in the mail list indicated that he thought css3 would probably never happen - or that it's really far off.
Perhaps the new IE will implement MSCss?
Merve
02-26-2005, 12:23 PM
Personally, I believe colour names are much more convenient, and that messing around with rgb or hex values is only good if you really need to fine tune colours.
I'm not too smart; I need to keep things simple :rolleyes:
weekender
02-26-2005, 12:59 PM
ok here's one for you that's always flummuxed me;
why is gray GRAY and lightgrey is lightGREY?
(different spellings, if you missed that trick?)
it's not just the web page laserlight listed - browsers stick to these two spellings, and it always gets me as to which is e and which is a
adam
Weedpacket
02-26-2005, 09:49 PM
Originally posted by weekender
it's not just the web page laserlight listed - browsers stick to these two spellings, and it always gets me as to which is e and which is a
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title></title>
</head>
<body>
<table>
<tr>
<td style='background-color:grey'>With an E!</td>
<td style='background-color:lightgrey'>With an E!</td>
</tr>
<tr>
<td style='background-color:gray'>With an A!</td>
<td style='background-color:lightgray'>With an A!</td>
</tr>
</table>
</body>
</html>
Works For Me.
Elizabeth
02-26-2005, 10:50 PM
Now, if we could just get the w3c folks together with Crayola, we'd be set. The new box of 64 has much more interesting names.
In fact, perhaps they should hold a contest for re-writing the standard names; I wanna see colors like "3-day old bruise", "national geographic yellow", "moldy bread", and "baby poop".
Weedpacket
02-27-2005, 12:54 AM
Originally posted by Elizabeth
Now, if we could just get the w3c folks together with Crayola, we'd be set. The new box of 64 has much more interesting names.
Now there's an idea for CSS: colour namespaces!
body{
color-namespace: url('http://www.crayola.com/css/namespace');
}
table
{
background-color: atomic-tangerine;
}
table .sidebar
{
color-namespace: url('http://naramore.net/namespaces/color/dailycleaning');
border:3px solid baby-poop;
}
dalecosp
02-27-2005, 01:20 AM
Originally posted by Weedpacket
border:3px solid baby-poop;
I think that there may be a problem with implementation here.
As E and I are both aware, "solid baby-poop" is its own color designation (contrasting with what you get when baby hasn't started solids yet); it's possible, then, that using it in combination with a solid border designation may well cause some browsers, most notable MSIE, to "crap out"....
:D
Yes, I know. "That stinks...."
well, whaddya expect?
Merve
02-27-2005, 05:19 PM
Well, colour naming is a good idea and all, but instead of memorizing a bunch of colour names, what's the problem with using rgb or hex values?
I know this post completely contradicts my earlier post, but that's how I work :rolleyes:.
Weedpacket
02-27-2005, 07:24 PM
Originally posted by dalecosp
Yes, I know. "That stinks...."
well, whaddya expect? Something about a dashed border indicating a case of the runs perhaps?
Elizabeth
02-28-2005, 12:09 PM
Wow, this thread has really gone down hill.
BuzzLY
02-28-2005, 12:39 PM
You're surprised? LOL
FYI, I have a colorpicker (http://www.ultimatespin.com/projects/colors/colorpicker.php?color=LightGreen) application I wrote a while back using PHP and the GD2 library. I only mention it because I have a list of every named color, and if you choose one of them, it will tell you the hex value, RGB, etc, and show you complementary colors. If you want the code, let me know.
There was a member here that wanted the code a while ago, but I lost his email, and could not send it to him. If that person is still here, and still wants it, please let me know, and I'll get it to you.
Thanks,
Buzz
PHP Builder
Copyright WebMediaBrands Inc. All Rights Reserved.