and like us on FB

The following PHP function will determine the dominant (average) color of an image with PHP. The result can be returned as either an array of formatted string. Other color functions can be found on our blog by way of the color Tag: color tag.

Shortt URL for this post: