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
f0a8000.229702380952
6060300.17505952381
d878000.150476190476
4848180.100952380952
9018180.0767261904762
3018180.0596428571429
7878480.0458928571429
c030180.0305357142857
d860180.0275
1818000.0232142857143
(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-2014 Neighbor Webmaster