News for hackers. Stuff that matters.
Re:Show HN: Finding the colours of the web by aw3c2 on Thursday April 25, 2013 @05:18PM (#5609926)
Hm, it is dismissing white (and black?) while I find those colours often very important to a site's look. Think Facebook, it is white and blue.
Re:Show HN: Finding the colours of the web by richardkeller on Thursday April 25, 2013 @05:32PM (#5610029)
Including the colour outside the primary content area wouldn't be very accurate, since this is dependent on the viewer's screen resolution. For example, viewing Facebook on a widescreen display yields significantly more white than on a non-widescreen display.
Re:Show HN: Finding the colours of the web by prawn on Thursday April 25, 2013 @09:00PM (#5610908)
Re:Show HN: Finding the colours of the web by riblah on Thursday April 25, 2013 @05:32PM (#5610028)
I'm keeping white/black and greytones out for now. White/light greys are especially hard... how would you differentiate between the content and the background?

It's definitely on the list of things to address.

Re:Show HN: Finding the colours of the web by apineda on Thursday April 25, 2013 @06:00PM (#5610189)
Any chance of open sourcing? I'm interested in the algorithm. Is it quantizing to a more limited bit depth and taking say, top 5ish via mode?
Re:Show HN: Finding the colours of the web by riblah on Thursday April 25, 2013 @06:10PM (#5610255)
I do plan on open sourcing. A little self conscious about the code as I'm more of a designer, but watch this space.

At the moment it's quantizing down to 40 colours with a tree depth of 4, I then pull the top 12.

Re:Show HN: Finding the colours of the web by scarecrowbob on Thursday April 25, 2013 @11:29PM (#5611332)
A border?