Live data from Hacker News

Google, but for colors

picular.co

71–80 of 108 posts

Re: Google, but for colors

#71

Very interesting how "pride" returns the colors of the rainbow in order: https://picular.co/pride It might be ordering the results by hue.

Also quite vivid: https://picular.co/neon Not so vivid: https://picular.co/noir

Some nice colours as well: https://picular.co/pastel

Re: Google, but for colors

#73
post #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?

It's also filtering for safe search. So, there are results that are assuredly indexed by Google, but the query stalls the page.

If you try linking to https://picular.co/four+letter+words

...some of those four letter words won't return results, even if they do exist. Probably because they (futurememories.se) don't want to associate their product with lewd profanity, if/when people start sharing random links on social media.

Re: Google, but for colors

#76
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.

My first search for "apple" gives you a bunch of greys and a red is only the 8th result. There's more grey, beige, a blue, black, yellow, orange, but only one green and 5 reds total. Searching "heart" at least gives you a red first and majority reds.

Try "apples instead", all red and a single lime green.

It's amusing having a background in software development and this is the first thought I had. (like many here I am sure would) I don't know exactly "why" this works, but knowing that it likely would before trying. (like hitting refresh when your web app barfs)

Someone else suggested cause of the apple logo... and it seems they are likely right. :)

https://www.google.com/search?q=apple&tbm=isch

Shows the "holes" in this method.

Re: Google, but for colors

#77

Earlier quoted context omitted.

My first search for "apple" gives you a bunch of greys and a red is only the 8th result. There's more grey, beige, a blue, black, yellow, orange, but only one green and 5 reds total. Searching "heart" at least gives you a red first and majority reds.

Try "apples instead", all red and a single lime green. It's amusing having a background in software development and this is the first thought I had. (like many here I am sure would) I don't know exactly "why" this works, but knowing that it likely would before trying. (like hitting refresh when your web app barfs) Someone else suggested cause of the apple logo... and it seems they are likely right. :) https://www.goo…

Yep. Works pretty well for terms that return highly relevant images. Try "baby poop", for example.

Re: Google, but for colors

#78

I just tried "love" and "hate" - the first three results were very similar shades of red.

Love and hate are pretty similar, both are passionate emotions. We just need to remember that, and then it's easy to choose the right one.

Re: Google, but for colors

#79
post #62

Earlier quoted context omitted.

If that's what it's doing, how is it giving me colors for nonsense words? I wonder if it's just automatically accepting the spelling suggestion Google provides for searches?

It's probably using Google custom search. I think that's the only way you can actually get Google search results as an API. Perhaps custom search displays differing results?

You can scrape google.com with a lot of awkward ban evading.

The fact that it works for non existing search results shows that it's ML

Post reply on HN