title: Get average color of image via Javascript
body: <p>Not sure this is possible, but looking to write a script that would return the average <code>hex</code> or <code>rgb</code> value for an image.  I know it can be done in AS but looking to do it in JavaScript.  </p>