color-extractor

Extract colors from an image like a human would do.

Via Composer

$ composer require league/color-extractor