When you type a word and click on the formular, the program looks for the first 8 images at Google, and retrieves the thumbnails. Then all the pixels are analyzed and the average resulting color is exposed as an hexadecimal value.
There are still some improvements to be done. I could measure the value of the most repeated RGB value to determine the color, or extracting the main area of the picture to perform the data analysis. If you have any suggestion you want to share, send me an email to email@example.com.
The design has been done by Patricia Mateos Romero