-2

How can I get colors from an image? Like this site does? I want to know how I can get that.

dda
  • 6,030
  • 2
  • 25
  • 34
loopy
  • 1
  • 1
  • 1
    This question needs a lot more explanation for what you want to do and what question you're asking. As it stands now, there is not enough information to answer. Voting to close. – jfriend00 Aug 18 '12 at 17:47
  • See http://stackoverflow.com/questions/1041399/how-to-use-javascript-or-jquery-to-read-a-pixel-of-an-image – Ana Aug 18 '12 at 17:50
  • First result in google was http://hungry-media.com/2010/09/html5canvas-fun-extracting-colors-from-images/. Try to show some research effort before posting. – AlexMA Aug 18 '12 at 17:52
  • possible duplicate of [Get image color](http://stackoverflow.com/questions/1746530/get-image-color) – Baba Aug 18 '12 at 17:58

1 Answers1

1

here is a Image Color Extract is based on a PHP Class by Csongor Zalatnai http://www.phpclasses.org/package/3370-PHP-Extracts-the-most-common-colors-used-in-images.html

Online Example http://www.coolphptools.com/color_extract

You can use it to extract color profile in HEX format

Baba
  • 94,024
  • 28
  • 166
  • 217