Live data from Hacker News

Google, but for colors

picular.co

41–50 of 108 posts

Re: Google, but for colors

#43
post #40
post #17

In case anyone is wondering how this works, it does a google image search and then extracts the primary color of each result. That’s why you see unexpected colors like grey for “heart”: image search returns black and white hearts.

that's actually a pretty terrible way of handling it. There are libraries a' plenty that achieve this without scraping google.

that achieve what, exactly?

Re: Google, but for colors

#44

I searched blue and it returned some tan and green colors (but not bluish green or greenish blue). I searched naked, expecting skin colors (I was wondering if it would tend to show "white" skin colors instead of a range of skin colors). The results were... strange.

if you search "skin" you get more or less anticipated results. I think it's using safesearch-filtered results, so "naked" isn't likely to return any actual naked bodies.

Re: Google, but for colors

#45
You can type nonsense words into this --- words for which Google will say no page in its entire corpus has a match --- and get color palettes back. What's it actually doing?

Re: Google, but for colors

#46
post #28

Could this be implemented by doing a google image search for whatever the user enters. Then show the average color of each image.

That's exactly how it's implemented. You can hover over the pictures' corners to show the original image.

I think he means averaging over the extracted colors

Re: Google, but for colors

#47
post #43
post #40

Earlier quoted context omitted.

that's actually a pretty terrible way of handling it. There are libraries a' plenty that achieve this without scraping google.

that achieve what, exactly?

figuring out which colors to display based off a reference color.
Post reply on HN