Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
A script for retrieving the accent color of any external website http://joelb.me/accentcolor
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
============================= accentColor Script v1.0.1 Demo and documentation: www.joelb.me/accentcolor ============================= A small script for retrieving the accent color of a given site. This is done by calculating the dominant color of the site's favicon, which generally gives the expected results. The format of the returned color is 'rgb(R, G, B)'. Connects to http://g.etfv.co/ (getFavicon by Jason Cartwright) to get favicons. Author: Joel Besada (http://www.joelb.me) Date: 2011-12-10 Copyright 2011, Joel Besada MIT Licensed (http://www.opensource.org/licenses/mit-license.php)