AutoStyle is a small javascript class that provides functions to cluster colors in images, allowing you to dynamically style HTML according to the image loaded on the page.