PHP Classes

Get Image Color: Get the most used colors in an image

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,063 All time: 3,488 This week: 190Up
Version License PHP version Categories
getimagecolor 1.0GNU General Publi...5.0PHP 5, Graphics


This class can be used to get the most used colors in an image.

It can open an image file in JPEG format and traverse its pixels to find which are the most used colors. It can skip a given number of analyzed pixels according to the granularity parameter.

The class returns an array of top most used colors up to a given limit of number or colors. The colors are returned in RGB hexadecimal format.

Picture of Kalpesh Gamit
  Performance   Level  
Name: Kalpesh Gamit <contact>
Classes: 3 packages by
Country: India India
Age: 39
All time rank: 158391 in India India
Week rank: 609 Up49 in India India Up

  • get_image_color_slice
  • result_of_get_image_color.png
  Files folder image Files  
File Role Description
Plain text file getImageColor Class PHP getImageColor

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:3,488
This week:190Up