Colourful friends
May. 18th, 2004 10:58 amacronym addedentry aendr ailbhe aldabra ali_anarres anastamosis andyroyal angoel angua antinomy arkady arnhem atreic barberio barnacle beckyc beingjdc bellinghman bellinghwoman bigtonyd bjh21 blackherring bootpunk bopeepsheep brrm burkesworks catyak ceb chickenfeet2003 cjwatson claroscuro crag_du crazyscot damerell daneel_olivaw davefish deadpidge deliberateblank dinesha dmwcarol dreamingchristi drswirly echoing_void ejde elise emarkienna emperor ewx exotic_ices eyekiller fanf feanelwa fivemack florence90 fluffymark fluffymormegil games_puzzles geekette8 ghoti glamwhorebunni glitterboy1 gnimmel hampsterboy hoiho hollyp hsenag imc isihac j4 jbmurray jiggery_pokery juggzy julietk jvvw k425 k425sbug kaet kaet_dreams karen2205 kathypuss keirf keris kitty_goth lark_ascending lethargic_man liarlyre littlemissgoth lnr lusercop marnameow marnanel martling marypegg meirion mhk mikewd mjg59 mobbsy mpinna mr_tom mst3kgirl mstevens mtbc100 naath naranek nassus natural20 newcat nilasae nja northernmonkey nou nslm nwc10 oldbloke other_faces p_a_r_a perdita_fysh pir pjc50 pm215 pookee pseudomonas ptc24 pto452 q_skud_ razornet redcountess reddragdiva rejs rillaith rmc28 robinbloke rysmiel sampiano saraphale sbp scat0324 senji shadow_jess shereenb simonb simont sion_a sirpropaganda skorpionuk smallclanger songster sphyg sweh taimatsu tamsinj teleute the_mendicant thorfinn tienelle timeplease tlingel truecatachresis uitlander uon vatine venta vyvyan wintrmute womble2 yonmei zenithed cantabrigiensis kittenherder livechiark paidmembers pie_scoffers slimmingworld uk_misc acroblog dotaturls nsfw stephdiary
NB: this is done by replacing each name with <font color=name>name</font>
NB: this is done by replacing each name with <font color=name>name</font>
no subject
Date: 2004-05-18 10:29 am (UTC)no subject
Date: 2004-05-18 10:35 am (UTC)no subject
Date: 2004-05-18 11:02 am (UTC)no subject
Date: 2004-05-18 10:37 am (UTC)no subject
Date: 2004-05-18 10:50 am (UTC)So has anyone worked out what the algorithm is yet? (Looking in a browser's source is cheating.)
The fact that practically everything in the A-F range is coloured and many things beyond there are black suggests to me that it's something to do with extracting valid hex digits from the supplied string; and indeed on closer examination with xmag, "senji" is a slightly reddish #0e0000 rather than genuine black, so the "e" has clearly had an effect.
However, it doesn't seem to be just a matter of extracting the first six valid hex digits; a good example is "claroscuro", in which the "c" has had an effect in forming the colour #c00000, but the "a" two characters later has done nothing. Curiouser and curiouser.
no subject
Date: 2004-05-18 10:57 am (UTC)no subject
Date: 2004-05-18 10:59 am (UTC)no subject
Date: 2004-05-18 11:00 am (UTC)no subject
Date: 2004-05-18 12:03 pm (UTC)There's a lower limit to the number of characters which Mozilla will recognise as a colour. I believe that limit is 4; shorter names all seem to be black. The basic algorithm seems to be to translate each invalid letter to zero and pad on the right with zeros, hence becomes #0ae000 and becomes #b00210. However, if the name is 7-9 characters long, Mozilla skips every third character (which would be the least-significant nybble of each channel in a 36-bit colour specification), so becomes cr[a]zy[s]co[t] which is #c000c0. With longer words, it skips two characters, so becomes ad[de]de[nt]ry which is #adde00.
no subject
Date: 2004-05-18 12:41 pm (UTC)no subject
Date: 2004-05-18 01:15 pm (UTC)Hex values for colours (in this context) consist of three numbers: the amount of red, green and blue, each number being two hex digits, so value for each ranges from 00 (none) to FF (maximum). Anyone with a name starting in the range a-f is therefore going to get a colour with a large red component (at least A0). Whereas anyone with a name starting after that is going to have a smaller red component (at most 0F). Amounts of green and blue in the two sets of names are probably about as likely -- but whereas in the first set they tend to shade the colours towards yellow and purple, in the second set they provide all the colour information, so you see greens, blues and blacks.
no subject
Date: 2004-05-18 03:26 pm (UTC)In LJ's XColibur style, the `specific entry' view has an XHTML 1.0 Transitional DOCTYPE, while the `recent entries' view doesn't have one. Hence the difference in appearance.
no subject
Date: 2004-05-18 04:18 pm (UTC)I had guessed there was some logic to it but hadn't a clue what it was, since I could see plenty of as (etc) in later names...
no subject
Date: 2004-05-18 02:09 pm (UTC)no subject
Date: 2004-05-18 07:56 pm (UTC)Hence
Thanks for the explanation. This is why people are saying "ooh, look at that, I'm a lovely shade of blue!" and my response is "No... that's... red." MSIE, eh?
a dull shade of blue
Date: 2004-05-18 09:11 pm (UTC)no subject
Date: 2004-05-20 02:52 am (UTC)