arpohahau/color-palette — pull request #3 by lbain (2012-08-03 17:04:33+00:00)
Title: Check for invalid CSS urls, generate html file with color blocks

I recently saw your post on inconsistent colors (http://coderwall.com/p/u7kzua) and thought it was a really great script.

1st commit - When I went to test it on my site I hit an error on a google fonts URL and did a quick clean up of that one to do a rescue if it's an invalid URL.

2nd commit - I wanted to use it on my own site to see if we had some colors that were *almost* the same, but just not quite there. I added in a function (print_palette_html) to generate a simple html file to display the different colors so I could find which ones were pretty close without needing to look at the hex codes.

Thanks so much for your script - very handy!