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

Download (version 1.0)

colorextract_1_1.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
6078300.41494047619
7890480.332142857143
4860300.0594047619048
1818180.0408928571429
a8a8300.0313095238095
c0a8180.0270833333333
4860600.0254166666667
3030300.0224404761905
d8c0180.011369047619
a8a8900.00815476190476
(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
blog comments powered by Disqus
Copyright © 2007-2015 Neighbor Webmaster