News for hackers. Stuff that matters.
Re:Google, but for colors by jfarlow on Wednesday August 29, 2018 @03:37PM (#17871115)
Very fun.

I put in some scientific proteins, and it spits out their common fluorescence staining colors:

ZO1 (stain tight-junctions, often blue): https://picular.co/zo1 (see https://www.google.com/search?tbm=isch&source=hp&biw=1399&bi...)

hN1 (a protein usually stained red or green with GFP or mCherry): https://picular.co/hn1 (see https://www.thermofisher.com/antibody/product/HN1-Antibody-P...)

Re:Google, but for colors by shawn on Wednesday August 29, 2018 @03:40PM (#17871152)
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.
Re:Google, but for colors by starshadowx2 on Wednesday August 29, 2018 @03:49PM (#17871246)
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.

Re:Google, but for colors by shawn on Wednesday August 29, 2018 @04:01PM (#17871383)
Right. If you do a google image search for apple, it'll show mostly grays because it's returning the Apple logo.
Re:Google, but for colors by RobertRoberts on Wednesday August 29, 2018 @11:16PM (#17873879)
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 by tyingq on Wednesday August 29, 2018 @11:37PM (#17873937)
Yep. Works pretty well for terms that return highly relevant images. Try "baby poop", for example.
Re:Google, but for colors by bryanrasmussen on Thursday August 30, 2018 @09:14AM (#17876382)
my search for apple in google returns only results somehow related to apple the company, so it would seem this is google, but for colors.
Re:Google, but for colors by egfx on Wednesday August 29, 2018 @06:11PM (#17872523)
that's actually a pretty terrible way of handling it. There are libraries a' plenty that achieve this without scraping google.
Re:Google, but for colors by joe5150 on Wednesday August 29, 2018 @06:27PM (#17872617)
that achieve what, exactly?
Re:Google, but for colors by egfx on Wednesday August 29, 2018 @06:46PM (#17872752)
figuring out which colors to display based off a reference color.
Re:Google, but for colors by paulcole on Wednesday August 29, 2018 @06:53PM (#17872789)
but you're not giving it a reference color. you're starting with a word like "envy."
Re:Google, but for colors by tptacek on Wednesday August 29, 2018 @06:43PM (#17872732)
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 by alangpierce on Thursday August 30, 2018 @01:28AM (#17874276)
Looks like Google image search always has a fallback for a nonsense search query, and the images between Google and Picular exactly match (if you hover over the bottom-right of any color card, it shows the source image):

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

https://picular.co/sdlkfjsldkfjsldfkj

If you put it in quotes, though, Google gives no results and Picular crashes (500 internal server error from an XHR):

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

https://picular.co/"sdlkfjsldkfjsldfkj"

Re:Google, but for colors by hesselbom on Thursday August 30, 2018 @04:36AM (#17875028)
Fixed! There's now a color palette for "sdlkfjsldkfjsldfkj" ;)
Re:Google, but for colors by nickelcitymario on Thursday August 30, 2018 @11:12AM (#17877381)
What did you change?

My guess is you're still doing a Google Image search, but when it returns no results, you return something random and cache this query for consistency. Is that about right?.

Re:Google, but for colors by hesselbom on Friday August 31, 2018 @04:57AM (#17884019)
Good guess! That's almost right, but there's no cache involved. Random colors based on a seed.
Re:Google, but for colors by dsmithatx on Wednesday August 29, 2018 @08:07PM (#17873125)
Are the palettes accurate? Did you try a Google image search?
Re:Google, but for colors by kasey_junk on Wednesday August 29, 2018 @07:19PM (#17872914)
Machine learning
Re:Google, but for colors by chrbarrol on Wednesday August 29, 2018 @07:39PM (#17873012)
I was kinda disappointed when I realized when you search it seems to basically only do a simple image search (ala Google) and return the primary color of the individual images, as can be seen by hovering over the small icon in each color result.

I would not really call that machine learning, since it's basically an image search engine with a color filter.

Re:Google, but for colors by tptacek on Wednesday August 29, 2018 @08:13PM (#17873155)
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?

Re:Google, but for colors by itsarnavb on Wednesday August 29, 2018 @09:00PM (#17873358)
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?

Re:Google, but for colors by hayksaakian on Thursday August 30, 2018 @12:00AM (#17874003)
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

Re:Google, but for colors by usmannk on Thursday August 30, 2018 @03:40AM (#17874741)
Re:Google, but for colors by bryanrasmussen on Thursday August 30, 2018 @09:16AM (#17876394)
well I typed in config and got nothing.
Re:Google, but for colors by blockedTwitter on Wednesday August 29, 2018 @10:32PM (#17873735)
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 by izzydata on Wednesday August 29, 2018 @03:53PM (#17871295)
Is the site getting overloaded with traffic? Nothing returns any results.

Edit: Left a search running for 10 minutes and got some colors.

Re:Google, but for colors by Wistar on Wednesday August 29, 2018 @05:30PM (#17872240)
It appears to be flummoxed.
Re:Google, but for colors by heartles on Wednesday August 29, 2018 @05:10PM (#17872092)
I think so, it's not returning results for me either.
Re:Google, but for colors by Ftuuky on Thursday August 30, 2018 @04:41AM (#17875059)
12 hours later and still doesn't work for me
Re:Google, but for colors by fareesh on Wednesday August 29, 2018 @05:59PM (#17872445)
Hug of death I guess
Re:Google, but for colors by splatzone on Wednesday August 29, 2018 @02:54PM (#17870671)
This is really cool, nice work!

I tried 'horse' (https://picular.co/horse) and I got some interesting results, some sky and grassy colours as well. Where do you get the photos from, and will searches give the same results every time or do they vary?

Re:Google, but for colors by youeseh on Wednesday August 29, 2018 @05:38PM (#17872296)
I think it works. I looked for "fog in san francisco" and it gave me a bunch of shimmering gray boxes that all look the same.
Re:Google, but for colors by rileyteige on Wednesday August 29, 2018 @03:17PM (#17870892)
https://picular.co/love returned a nice color palette

pretty neat to search for the planets as well (e.g. https://picular.co/jupiter)

I also like that the favicon changes colors. Nice touch.

Re:Google, but for colors by afo on Wednesday August 29, 2018 @03:19PM (#17870905)
Looks similar to https://picular.co/hate
Re:Google, but for colors by cozzyd on Wednesday August 29, 2018 @05:09PM (#17872079)
Searching for quarks or gluons did not result in colorless combinations. This website clearly doesn't conform to QCD.
Re:Google, but for colors by ISL on Wednesday August 29, 2018 @07:44PM (#17873034)
Neither quarks nor gluons (in general) are colorless.

One should object, however, that the site returns colors for 'hadron' and 'meson' :).

Re:Google, but for colors by fbelzile on Wednesday August 29, 2018 @07:43PM (#17873026)
Very interesting how "pride" returns the colors of the rainbow in order: https://picular.co/pride

It might be ordering the results by hue.

Re:Google, but for colors by DonHopkins on Wednesday August 29, 2018 @09:34PM (#17873514)
Also quite vivid: https://picular.co/neon

Not so vivid: https://picular.co/noir

Re:Google, but for colors by jee1shi on Wednesday August 29, 2018 @10:03PM (#17873632)
Some nice colours as well: https://picular.co/pastel
Re:Google, but for colors by lifthrasiir on Thursday August 30, 2018 @02:32AM (#17874525)
Given there is no original picture overlay in that result, it actually seems to be hardcoded.
Re:Google, but for colors by anonytrary on Wednesday August 29, 2018 @03:44PM (#17871184)
It's funny because if you scroll through Google images fast enough, you will catch glimpse of monochromatic placeholder images for images that haven't loaded yet. The placeholder image seems to be the average color (maybe with some object boxing to reduce contributions from backgrounds and such) inside the image. This website is kind of the opposite in that it presents the placeholder color as if it were the content itself.
Re:Google, but for colors by jameslk on Wednesday August 29, 2018 @07:54PM (#17873073)
Apparently the colors come from the images in Google Images search results.

In the bottom right of each color is a button that reveals the image where the color is sourced from.

Re:Google, but for colors by tom4000 on Thursday August 30, 2018 @04:07AM (#17874871)
Doesn't work out of the box with tracking protection in browsers enabled. So I don't see any color and I guess I don't have to.
Re:Google, but for colors by suyash on Wednesday August 29, 2018 @03:17PM (#17870895)
Loved the idea and well implemented. Is it open source, like to add a feature to it. Could you also care to share about the underlying algorithm ?
Re:Google, but for colors by teolandon on Wednesday August 29, 2018 @03:22PM (#17870949)
Seems to be doing a google image search and take the average color. Meh.

EDIT: My "meh" is not bashing on the author or anything, at least they actually made a project, all I've done this past while is browse HN and make half-baked terminal apps. It was more of a let-down because I thought this was a very cool idea and was interested in a sophisticated implementation of it.

Re:Google, but for colors by suyash on Wednesday August 29, 2018 @03:23PM (#17870959)
Ahh much simpler than I thought (fancy NLP and such :)
Re:Google, but for colors by person_of_color on Wednesday August 29, 2018 @09:02PM (#17873372)
Meh indeed.
Re:Google, but for colors by zouhair on Thursday August 30, 2018 @04:53AM (#17875115)
I don't know why but this reminded of Guess-The-Google[0] where you get a series of images and you have to guess the search word that generate them.

Sadly, I couldn't find any playable version of it.

[0]: https://www.onlymelbourne.com.au/guess-the-google

Re:Google, but for colors by ape4 on Wednesday August 29, 2018 @04:54PM (#17871929)
Could this be implemented by doing a google image search for whatever the user enters. Then show the average color of each image.
Re:Google, but for colors by scrollaway on Wednesday August 29, 2018 @05:05PM (#17872028)
That's exactly how it's implemented. You can hover over the pictures' corners to show the original image.
Re:Google, but for colors by bkohlmann on Wednesday August 29, 2018 @11:04PM (#17873831)
I just tried "love" and "hate" - the first three results were very similar shades of red.
Re:Google, but for colors by labster on Wednesday August 29, 2018 @11:43PM (#17873959)
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 by tomcam on Wednesday August 29, 2018 @03:22PM (#17870944)
Neat! No greens returned in https://picular.co/christmas but OTOH I just created palettes called Retro and Grunge for a recent project and they were quite similar to Picular’s choices
Re:Google, but for colors by DonHopkins on Wednesday August 29, 2018 @09:36PM (#17873521)
I found some nice greens: https://picular.co/marijuana -- Have a MERRY CHRISTMAS! (There, I said it.)
Re:Google, but for colors by rileyteige on Wednesday August 29, 2018 @03:25PM (#17870976)
Re:Google, but for colors by Ekuju on Wednesday August 29, 2018 @07:29PM (#17872974)
Considering this apparently uses Google images, it would probably be improved if you add "_ color" to the end of every search.

For christmas this seems to be the case.

Re:Google, but for colors by felideon on Wednesday August 29, 2018 @03:30PM (#17871023)
Interesting. Same for "cash" or "money".
Re:Google, but for colors by advisedwang on Wednesday August 29, 2018 @03:32PM (#17871054)
dollar does get green, perhaps it's just not US-centric?
Re:Google, but for colors by rainbowmverse on Wednesday August 29, 2018 @07:17PM (#17872906)
I put in bisexual. It returned those colors, but also returned the colors for the pansexual pride flag. https://picular.co/bisexual

I wonder what kind of magic is going on under the hood.

Re:Google, but for colors by irrational on Wednesday August 29, 2018 @05:56PM (#17872425)
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.

Re:Google, but for colors by joe5150 on Wednesday August 29, 2018 @06:28PM (#17872625)
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 by martyvis on Thursday August 30, 2018 @07:00AM (#17875652)
If you are really looking for colours and palettes with a theme you are much better off with the groupthink at sites like https://www.colourlovers.com/
Re:Google, but for colors by noelwelsh on Wednesday August 29, 2018 @03:46PM (#17871210)
That the icon changes color is a nice touch. I can see this being useful in generative art.
Re:Google, but for colors by yeukhon on Wednesday August 29, 2018 @09:23PM (#17873459)
Re:Google, but for colors by fosco on Wednesday August 29, 2018 @06:10PM (#17872518)
I really like this! Searching for 'sea foam green' gave me exactly what I thought.

That being said, personally, I would prefer something original instead of "Google, but for colors.". just my two cents.

Re:Google, but for colors by avighnay on Thursday August 30, 2018 @01:43AM (#17874337)
A very good example how engaging and useful a simple idea can be! Now the source images are also shown in the results!

I do not think it uses any AI/ML, the beauty is in the simplicity of the solution. Awesome!

Re:Google, but for colors by crobertsbmw on Wednesday August 29, 2018 @04:40PM (#17871793)
Not loading anything for me.
Re:Google, but for colors by divanvisagie on Thursday August 30, 2018 @07:18AM (#17875735)
I was super slow for me. Wonder what is going on in the background?
Re:Google, but for colors by sonnyblarney on Wednesday August 29, 2018 @03:59PM (#17871367)
Would be nice instead of just colours it gets a selection of palettes.
Re:Google, but for colors by spiralx on Thursday August 30, 2018 @06:39AM (#17875566)
You can try the one of these sites for that:

https://www.colourlovers.com/palettes/search?query=love

http://www.color-hex.com/color-palettes/?keyword=love

There are some other sites that do similar searches as well, just can't remember them off the top of my head :)

Re:Google, but for colors by Invictus0 on Wednesday August 29, 2018 @03:54PM (#17871304)
Doesn't work for me: the boxes never load. I searched for potato.
Re:Google, but for colors by daltonlp on Saturday September 01, 2018 @06:20PM (#17894197)
http://www.colr.org/ does something very similar.
Re:Google, but for colors by reificator on Wednesday August 29, 2018 @06:26PM (#17872608)
https://picular.co/the+matrix gives the expected greens, but not as the first result sadly.
Re:Google, but for colors by unfunco on Wednesday August 29, 2018 @05:03PM (#17872011)
Nice. I tried Formula 1 constructors, and all those that I tried matched their liveries. Force India returned some pinks, Ferrari returned some reds, and McLaren some orange.
Re:Google, but for colors by haberdasher on Wednesday August 29, 2018 @08:22PM (#17873201)
Re:Google, but for colors by nyrulez on Wednesday August 29, 2018 @07:46PM (#17873044)
No offense, but I expected more orange: https://picular.co/trump
Re:Google, but for colors by Retroity on Wednesday August 29, 2018 @06:27PM (#17872614)
I love this! It's really fun, and will be really useful for when I'm making something and can't find a specific color.
Re:Google, but for colors by dbomhof on Wednesday August 29, 2018 @03:30PM (#17871027)
Brilliant and colorful idea! Really love this!
Re:Google, but for colors by asafira on Thursday August 30, 2018 @03:41AM (#17874744)
It seems to me like when I type in company names, I don't get the exact colors they use in their branding...
Re:Google, but for colors by miguelmota on Wednesday August 29, 2018 @07:36PM (#17872991)
I put in "macbook" and it didn't return gray or black. Think the machine learning needs some tweaking
Re:Google, but for colors by test6554 on Wednesday August 29, 2018 @05:34PM (#17872264)
I typed fall colors and got a bunch of shades of orange, tans, yellows and browns. One blue tile in there as well...
Re:Google, but for colors by 21 on Wednesday August 29, 2018 @03:15PM (#17870883)
It seems to return blue for pretty much anything ("cat", "man"), maybe because of blue sky?
Re:Google, but for colors by logfromblammo on Wednesday August 29, 2018 @06:56PM (#17872803)
I tried searching for "picular.co", and to my disappointment it did not melt down the website.
Re:Google, but for colors by keithnz on Wednesday August 29, 2018 @11:13PM (#17873866)
well, I just tried https://picular.co/hackernews which gives lots of orange, but doesn't seem to give me the color I get when I use a color picker on the top bar of FD6423
Re:Google, but for colors by deathcow on Wednesday August 29, 2018 @04:46PM (#17871848)
Keeps showing Broken Website Gray now
Re:Google, but for colors by beardyw on Thursday August 30, 2018 @05:06AM (#17875182)
I want to take all the main colours in my house and get a word back! Someone work on it now.
Re:Google, but for colors by divanvisagie on Thursday August 30, 2018 @07:17AM (#17875730)
MVP:

return "beardyw's house"

Re:Google, but for colors by 2_listerine_pls on Wednesday August 29, 2018 @08:14PM (#17873161)
Any idea on how they obtain the underlying images? It seems like a huge pre-trained database.
Re:Google, but for colors by edgarvaldes on Wednesday August 29, 2018 @07:01PM (#17872841)
Interesting to see #0432CA for "human", and #3CA4D4 for "person".
Re:Google, but for colors by cjohansson on Thursday August 30, 2018 @07:47AM (#17875875)
Crashes half of the time, I guess it did not scale enough to handle Hacker News
Re:Google, but for colors by enriquto on Wednesday August 29, 2018 @10:26PM (#17873712)
Looking for "orca" I was expecting black and white, but got only blue.
Re:Google, but for colors by DonHopkins on Wednesday August 29, 2018 @09:30PM (#17873487)
I typed in "Trump News" and I got a bunch of Fake Colors, none of which were anything like the correct shade of orange. They're shadow banning orange colors and right wing red colors, only showing dark left wing blue shades!!! Why are they censoring all the warm positive Trump colors??? All colors matter!!!
Re:Google, but for colors by PokemonNoGo on Thursday August 30, 2018 @09:04AM (#17876321)
Is your backend doing a google search? Wont you get blocked...
Re:Google, but for colors by V-2 on Thursday August 30, 2018 @05:43PM (#17881057)
Nice Easter egg (I assume) for "chess" ;)
Re:Google, but for colors by spazzpp2 on Thursday August 30, 2018 @09:18AM (#17876414)
It cannot do "lego"

But maybe it's just hug of death..

Re:Google, but for colors by spazzpp2 on Thursday August 30, 2018 @09:21AM (#17876441)
okay. "lego" looks like "google"
Re:Google, but for colors by J5892 on Wednesday August 29, 2018 @07:27PM (#17872959)
I like how the first result for black is #040404.
Re:Google, but for colors by lucasmullens on Wednesday August 29, 2018 @03:54PM (#17871306)
Cool! Reminds me of xkcd's color survey results: https://xkcd.com/color/rgb/
Re:Google, but for colors by rawoke083600 on Thursday August 30, 2018 @08:19AM (#17876053)
Anyone typed in penis yet ?
Re:Google, but for colors by imkevinxu on Wednesday August 29, 2018 @03:38PM (#17871123)
This is SUPER DUPER cool!
Re:Google, but for colors by jen729w on Wednesday August 29, 2018 @03:35PM (#17871092)
I'm making sounds in my throat like I'm a cat.
Re:Google, but for colors by stevewilhelm on Thursday August 30, 2018 @12:41AM (#17874128)
queries: ennui, glee, barack obama, donald trump, puppies, kittens, paris, kolkata, yosemite, death valley

the machine has lots to learn.