Earlier quoted context omitted.
after checking icon and layout, they just install the extension in a sandbox and if it runs without a javascript error it passes.
It has just appeared now. https://chrome.google.com/webstore/detail/colorify/pipnfjhpb...
Colornames.org – A collaborative effort to name all 16.7M colors
191–200 of 237 posts
Re: Colornames.org – A collaborative effort to name all 16.7M colors
#192Earlier quoted context omitted.
But it's bgcolor="#ff6600"?
Both are there: https://colornames.org/search/results/?query=Hacker+News+Ora... Although the 65 one needs to be better named "Fake Hacker News Orange" or "Hacker Fake News Orange".
hopefully the masses can figure it out and correct it.
Re: Colornames.org – A collaborative effort to name all 16.7M colors
#193I think we should also name the numbers between 1 and 1,000,000 wiht unique names. The current names we use have too many patterns :D The number 173,515 could be a "singing dog", etc.
Those numbers already do have unique names.
Re: Colornames.org – A collaborative effort to name all 16.7M colors
#194Re: Colornames.org – A collaborative effort to name all 16.7M colors
#195Re: Colornames.org – A collaborative effort to name all 16.7M colors
#196Earlier quoted context omitted.
Your suggestion was that if two colors are indistinguishable, they should have that name. But given any two colors A and B you can construct a sequence C1 = A, C2, C3, ..., Cn = B where adjacent colors Ci and Ci+1 are indistinguishable from each other, and so need the same name, for 1 <= i < n. Hence, A and B have to have the same name.
The problem with your argument is that indistinguishable doesn't mean the equal. I'm not saying there is no difference between adjacent colors. I'm saying that the difference is indistinguishable. A lot of indistinguishable differences add to a distinguishable difference. Think about it with numbers: if your sequence A, B, C... are each zero units apart, then yes, A = B = C = ... In actuality, though, they are not ze…
Your suggestion was that if a color is close enough to another to be indistinguishable it the two should have the same name.
1 is close enough to 0, so gets the name "black" too.
How about 2? That's farther from 0 "black". Is it distinguishable? If not, it too is "black", and we can go on to compare 3 and 0, and beyond.
At some point we get our lowest blue-only RGB color that is distinguishable from 0 "black". Suppose that is 4. So we have 0, 1, 2, and 3 are all called "black", and since 4 is distinguishable from 0 it needs a new name, say "very light blue".
But now we have 3 "black" only 1 away from 4 "very light blue". Those are probably indistinguishable, so are supposed to have the same name. Oops.
Re: Colornames.org – A collaborative effort to name all 16.7M colors
#197Earlier quoted context omitted.
It has just appeared now. https://chrome.google.com/webstore/detail/colorify/pipnfjhpb...
Could you make it activate on demand/icon click? Excited to see how this would affect skimming web pages for me.
It's also taking a few seconds to process big pages so for the time being I'll rather have the user click the button when he wants to.
But I'll try to think of a solution for this use case.
Re: Colornames.org – A collaborative effort to name all 16.7M colors
#198Re: Colornames.org – A collaborative effort to name all 16.7M colors
#199Re: Colornames.org – A collaborative effort to name all 16.7M colors
#200Earlier quoted context omitted.
That’s called CSS. Use a user style, not javascript. The query is not applicable since its not offered by HN themselves.
You are misunderstanding what grease-monkey can do, and what I'm proposing. e.g. try loading news.ycombinator.com?myColorVar=44ff55 , it will load normally, as usual. Of course, this variable means nothing to the HN backend, but this is where e.g. Grease-monkey comes in: It injects a bit of javascript of your choosing into the page context for the news.ycombinator.com/* pages. This scriplet can easily change the colo…
// @include https://news.ycombinator.com/*
in the header will color the top-bar on HN pages with the color given in the URL such like https://news.ycombinator.com#MYC=lime or https://news.ycombinator.com#MYC=#ce1c01 .
(function() { if (color=document.location.href.match(/#MYC=(.)/)[1]) { document.querySelector("#hnmain>tbody>tr:first-of-type>td").setAttribute("bgcolor",color); document.querySelectorAll('a[href^="https://news.ycomb"],a:not([href="/"])') .forEach(e => {e.href+="#MYC="+color}); } })();
This script colors the top bar, and adds the custom colour to all HN-internal links, so until you manually change the URL, further navigation in that tab within news.ycombinator.com will retain your chosen top-bar colour.
(I hope the code comes out formatted in a legible way)