html - Javascript - Get the average colours of pixels in a square -


so have transparent web page (all elements visible background transparent - using software , background transparent , can clicked through).

what need able move box select specific part of web page , box detect colour behind window (as background transparent)?

this picture should make little more sense of it; red is, example, desktop background. window opened , box moved able detect colour.

enter image description here

the idea this: http://lokeshdhakar.com/projects/color-thief/ need work on transparent window , not image unsure possible html , js?

i understand possible use image need continuously check colour , when there change, update quickly.

thanks help!


Comments

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -