CT
Color Thief Php
Grabs the dominant color or a representative color palette from an image. Uses PHP and GD, Imagick or Gmagick.
Pricing
Open source
The source code is public, so you can run it yourself. Hosting, and any outside services it uses, may still cost money.
Prices change often. Check the official site for current plans before you buy.
Official website