arpohahau/color-palette — pull request #2 by ertyseidel (2012-08-02 23:16:01+00:00)
Title: PHP Version

Hi arpohahau -

I took a bit of time and translated your script into a php version that people can use on their own sites.

I thought your script was a really cool idea but I wanted to expand it into a tool useful for web developers like myself. The PHP version scans local directories and finds all of the color strings, so that a web developer can see what colors are used across their sites. It takes a little bit to run on large sites and could probably use some optimization, but it works.

I also expanded your list of human-readable colors to include all of the web-safe colors.

If you don't want to merge the PHP and Ruby projects, I'd be happy to make my own github page, but you're still welcome to merge the human-readable colors list into your ruby file. I've updated the readme file to make sure that users will know how to use both scripts.

Thanks!

--Erty