Not sure this is possible, but looking to write a script that would return the average hex
or rgb
value for an image. I know it can be done in AS
There is a online tool pickimagecolor.com that helps you to find the average or the dominant color of image.You just have to upload a image from your computer and then click on the image. It gives the average color in HEX , RGB and HSV. It also find the color shades matching that color to choose from. I have used it multiple times.