News for hackers. Stuff that matters.
Re:Show HN: Brandseen - A logo coloring game built in 24h by duopixel on Tuesday July 24, 2012 @06:13PM (#4288301)
Hey I've done similar games! check http://color.method.ac. You need to convert hex to CIELab, and then apply a color difference formula http://en.wikipedia.org/wiki/Color_difference

Don't let the complex versions put you down, the simplest formula is good enough, just Math.sqrt( Math.pow(L1-L2, 2) + Math.pow(a1-a2, 2) + Math.pow(b1-b2, 2) ).

Re:Show HN: Brandseen - A logo coloring game built in 24h by AriX on Wednesday July 25, 2012 @03:55AM (#4289871)
Awesome, thanks for the advice. We were looking into alternatives for algorithms that better reflected human color interpretation, and that looks very helpful. And yeah, your games are awesome, we basically modeled this as "the Kerning Game/Color Game, but for brands."
Re:Show HN: Brandseen - A logo coloring game built in 24h by imkevinxu on Tuesday July 24, 2012 @11:56PM (#4289290)
Thanks a bunch there! Will definitely look into that formula, you have made some AWESOME games as well :)
Re:Show HN: Brandseen - A logo coloring game built in 24h by AriX on Wednesday July 25, 2012 @04:13AM (#4289912)
(Can't wait for Method of Action, by the way, looks awesome and could be seriously helpful for me.)