Some time ago I implemented a couple of php subdomain detection tricks for quick testing of hex and rgb colour codes: typing ff0.milov.nl, cc6633.milov.nl, 100.100.200.milov.nl, 0.255.150.milov.nl (and so on) in your Address bar will fill the browser window with that particular colour.
As of today, in an attempt to pollute subdomainspace even further, html colour keywords such as orange.milov.nl, aquamarine.milov.nl, greenyellow.milov.nl are also supported.
Here's the full list:
aliceblue, antiquewhite, aquamarine, azure, beige, bisque, black, blanchedalmond, blue, blueviolet , brown, burlywood, cadetblue, chartreuse, chocolate, coral, cornsilk, crimson, cyan, darkblue, darkcyan, darkgoldenrod, darkgray, darkgreen, darkkhaki, darkmagenta, darkolivegreen, darkorange, darkorchid, darkred, darksalmon, darkseagreen, darkslateblue, darkslategray, darkturquoise, darkviolet, deeppink, deepskyblue, dimgray, dodgerblue, firebrick, floralwhite, forestgreen, gainsboro, ghostwhite, gold, goldenrod, gray, green, greenyellow, honeydew, hotpink, indianred, indigo, ivory, khaki, lavender, lavenderblush, lawngreen, lemonchiffon, lightblue, lightcoral, lightgoldenrodyellow, lightgreen, lightgrey, lightpink, lightsalmon, lightseagreen, lightskyblue, lightslategray, lightsteelblue, lightyellow, lime, limegreen, linen, magenta, maroon, mediumaquamarine, mediumblue, mediumorchid, mediumpurple, mediumseagreen, mediumslateblue, mediumspringgreen, mediumturquoise, mediumvioletred, midnightblue, mintcream, mistyrose, moccasin, navajowhite, navy, oldlace, olive, olivedrab, orange, orangered, palegoldenrod, palegreen, paleturquoise, palevioletred, papayawhip, peachpuff, peru, pink, plum, powderblue, purple, red, rosybrown, royalblue, saddlebrown, salmon, sandybrown, seagreen, seashell, sienna, silver, skyblue, slateblue, slategray, snow, springgreen, steelblue, tan, teal, thistle, tomato, turquoise, violet, wheat, white, whitesmoke, yellow, yellowgreen
Update:
now also supporting system colours, per Calm_Pear's request:
ActiveBorder, ActiveCaption, AppWorkspace, Background, ButtonFace, ButtonHighlight, ButtonShadow, ButtonText, CaptionText, GrayText, Highlight, HighlightText, InactiveBorder, InactiveCaption, InactiveCaptionText, InfoBackground, InfoText, Menu, MenuText, Scrollbar, ThreeDDarkShadow, ThreeDFace, ThreeDHighlight, ThreeDLightShadow, ThreeDShadow, Window, WindowFrame, WindowText
It's all handled by a couple of simple preg_match() checks on HTTP_HOST, actually.
Only the comma-separated subdomains get errors coming from the Squid proxy here; it's complaining it is an invalid URL.
the color page suffers. it's bugged by IE.. check http://www.bluerobot.com/web/css/fouc.asp for details
Now featuring auto-generated .png favicons (for Firefox) that match the color!
how can i do that also ???
Nice work, never seen anything like this before. It does inspire me however...
cheers
javascript:(function(){var q, i; q=document.getSelection(); if (!q) {q=prompt(%22Enter a CSS color%22,%22%22);} if (q){q=q.replace(/#/,'');q=q.replace(/$/,'');document.location=%22http://%22+q+%22.milov.nl%22;}})()
With any luck that'll show up correctly and it'll be copyable. You can either highlight text on a page and click this bookmarklet to go to the page or you can just click the bookmarklet and type the color info in directly.
Cheers for making such an awesome idea!
Like 200.200.200.milov.nl. Isn´t that strange either, never found a , in the rfc.
Btw, I do have access to the DNS settings of my domain, how do you let them all redirect to the main one?
btw, nicely done, simple, quick and elegant.
Thank you for sharing developments made.
Un Saludo.