こりはべんり。
$im = imagecreatefromjpeg(“http://yukikomurai.com/hogehoge.jp”);
$hex = sprintf(“#%08X”, imagecolorat($im, $x, $y));