Color | Color Code | Percentage |
---|---|---|
#f0a800 | 0.221667 | |
#606030 | 0.174286 | |
#d87800 | 0.155595 | |
#484818 | 0.097857 | |
#901818 | 0.076905 | |
#301818 | 0.049107 | |
#787848 | 0.048929 | |
#c03018 | 0.031667 | |
#d86018 | 0.022738 | |
#181800 | 0.022083 |
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.