title: How to get the average or main color from an image with javascript?
body: <p>what i want is to the the HEX or the RGB average value from an image to the another div background this color.</p>
  
  <p>So if i upload an image with a ot of red i get something like #FF0000 just as an example.</p>
  
  <p>Let Me know if this is posible :)</p>
  
  <p>Many thanks.</p>