A | A | A login
Tools To Make Your Life Easier

Download (version 1.0)

colorextract_1_0.zip zip format (553kb)

Requirements

Link to this page

Copy and paste the following into your HTML:

Creates this link:

Image Color Extract Using PHP

Image Color Extract

ColorColor CodePercentagetest image
0030900.308928571429
78d8ff0.158928571429
0060d80.130238095238
a8f0ff0.104880952381
0048c00.0755952380952
30a8ff0.0389880952381
a8f0f00.0356547619048
1878d80.0305357142857
0018780.0291071428571
48c0ff0.0267261904762
(1-255)
Yes No
Yes No

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:

You can download my version here

Bookmark and Share
wp-login
blog comments powered by Disqus
Copyright © 2007-2012 Neighbor Webmaster