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
6078780.559666666667
ffffff0.0934444444444
4848480.0782222222222
a8c0d80.0774444444444
9090a80.0711111111111
3030300.0566111111111
d8d8d80.0267777777778
a890780.0153888888889
1818180.012
f0f0f00.00777777777778
(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-2014 Neighbor Webmaster