No URL, as far as I know. It's just HTML code. (Meme: N, an idea, behavior, style, or usage that spreads from person to person within a culture.) Just type <font color="Orin">Orin</font> and see what comes up.
I'm curious myself, actually. I might be inclined to agree with you, as computers are stupid and tend to ignore what they don't understand (or burp at you if they think they should understand). At one point I was under the impression that browsers just read the first two letters and do a look-up from there, but that kills the idea of LightGrey and LightBlue and such... And certainly 'Ro' doesn't correspond to 'Green,' nor 'Or' to 'Black,' so...
Actually it appears to have nothing to do with that. I suspect it's somehow messing with the hex-to-rgb conversions.
My guess after some experimentation is it does the following (assuming an explicit colour name lookup fails): 1. Divide the string into three equal parts corresponding to Red, Green and Blue respectively. 2. For each part, read from left to right, accept only valid hex digit (0-9|A-F|a-f), stop once two have been found, or end of the part is reached. Concatenate digits, zero pad and convert to integer value.
Using that formula: "roliasnoom" "rol", "ias", "noom" "", "A", "" 00, A0, 00 0, 160, 00
It certainly seems to hold true. Orin would indeed be black since it contains no hex digits and a scren grab confirms "roliasnoom" is RGB(0,160,0).
no subject
Date: 2004-05-20 11:47 am (UTC)(Meme: N, an idea, behavior, style, or usage that spreads from person to person within a culture.)
Just type <font color="Orin">Orin</font> and see what comes up.
no subject
Date: 2004-05-20 12:08 pm (UTC)Anyway, it would seem I'm just plain black. I wonder how that works actually, I would have thought browsers would just discard incorrect colour names.
no subject
Date: 2004-05-20 12:16 pm (UTC)no subject
Date: 2004-05-20 12:38 pm (UTC)My guess after some experimentation is it does the following (assuming an explicit colour name lookup fails):
1. Divide the string into three equal parts corresponding to Red, Green and Blue respectively.
2. For each part, read from left to right, accept only valid hex digit (0-9|A-F|a-f), stop once two have been found, or end of the part is reached. Concatenate digits, zero pad and convert to integer value.
Using that formula:
"roliasnoom"
"rol", "ias", "noom"
"", "A", ""
00, A0, 00
0, 160, 00
It certainly seems to hold true. Orin would indeed be black since it contains no hex digits and a scren grab confirms "roliasnoom" is RGB(0,160,0).
no subject
Date: 2004-05-20 12:40 pm (UTC)no subject
Date: 2004-05-20 01:10 pm (UTC)