A port in PHP of Pieroxy.net JS ColorFinder