The Top Color module is used to fetch top 5 prominent color in an image.
PHP
HTML
CSS
Image Used:
Step 1: Resize Image has been resized
Step 2: Applying Filter
Step 3: Change White to Green Colored Pixel [Optional Step]
Step 4: Crop Image based on colored pixel.