Hacker News new | ask | show | jobs
by mcv 1439 days ago
Based on the title, I imagined crawling all websites and counting how many pixels used each colour.
4 comments

Yeah me too..

That would have made a lot more sense than what they're doing. I'd really like to see the outcome of that. Not this random comparison.

> random comparison

While certainly different individuals are going to vote on colors differently, I doubt that the aggregate results would resemble randomness.

I mean random as in the two colours are selected at random.

I think it's not really relevant to select colours in a void. Colours are good for a purpose. This is especially relevant on websites. I love yellow but I would hate it when it's used for text on a white background. Stuff like that.

I certainly agree that context is important when picking a color. I don't think the conclusion is that whatever color is selected the most should be used for everything because it's the most popular. But when presented with two colors the way the site does, there is generally one I prefer over the other. Whether this preference information is actually useful is a whole other question.
Ultimately, wouldn't that just see which is the most popular background color? Pixel-for-pixel the background takes up the largest percentage of screen space on most websites.

Though I would also be interested to see what the most popular background colors are. My money's on white and off-white.

You could, instead of counting pixel-by-pixel, count once per specified color. Eg count #000000 once per css rule it's specified in, once per image it's used in, etc.
my thoughts too. while this page is interesting, I'd be much more interested to know the results of what you describe

it would be fairly easily to implement, although probably quite expensive in either cost or time

Would be much more interesting indeed.

Could use sampling and still get reliable estimates?

how would you sample reliably though?

I'd imagine you get white and black in one or two, but then what?

I bet some pretty interesting graphs could be drawn with the results

I bet the most popular would be ones where one or more of the RGB are 00 or FF.
I was thinking the same thing. But they could exclude them since they are not real colors.
Why is FF0000 not a real color or FF5687?