What is the best way to get the color histogram of a html page as rendered, when I have the html and css files locally? I can think of a screen capture and then analyzing it using some graphic tool, but is there a more direct way to do this, for example, something like calculating it from the html and css information using JavaScript?
- Are you talking about grabbing a color of screen? Google for ColorPicMorpheus– Morpheus2013-05-03 10:19:38 +00:00Commented May 3, 2013 at 10:19
- Cool idea. Did you find anything on this?Jason Kleban– Jason Kleban2013-07-28 13:03:19 +00:00Commented Jul 28, 2013 at 13:03
- 2You could use html2canvas.hertzen.com to render the page body into a canvas and then access the rendered pixel via the canvas image data. net.tutsplus.com/tutorials/javascript-ajax/…JayMoretti– JayMoretti2013-07-30 05:31:58 +00:00Commented Jul 30, 2013 at 5:31
Add a comment |