Color | Color Code | Percentage |
---|---|---|
#f0a800 | 0.229702 | |
#606030 | 0.175060 | |
#d87800 | 0.150476 | |
#484818 | 0.100952 | |
#901818 | 0.076726 | |
#301818 | 0.059643 | |
#787848 | 0.045893 | |
#c03018 | 0.030536 | |
#d86018 | 0.027500 | |
#181800 | 0.023214 |
The Image Color Extract PHP class pulls the most common colors out of an image file. The color values are in hexidecimal. You can try it out below. Upload a file or use the sample image provided. This class was originally written by Csongor Zalatnai. You can get his original version here: http://www.phpclasses.org/browse/package/3370.html.
I added added some enhancements to this class:
colorextract_1_3.zip (553kb)
or clone the code from GitHub: https://github.com/keplerg/color-extract
Copy and paste the following into your HTML:
Creates this link:
I hope you found this website useful.