Plugin info

Total downloads: 7,864
Active installs: 300
Total reviews: 5
Average rating: 4.8
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 4 language(s)
Contributors: 2
Last updated: 4/16/2024 (623 days ago)
Added to WordPress: 7/21/2015 (10 years old)
Minimum WordPress version: 5.4
Tested up to WordPress version: 6.5.7
Minimum PHP version: 7.2

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 623 days ago • 5 reviews

28/100

Is Dominant Color abandoned?

Possibly abandoned (last update 623 days ago).

Compatibility

Requires WordPress: 5.4
Tested up to: 6.5.7
Requires PHP: 7.2

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

No similar plugins found yet.

Description

A WordPress plugin to automatically save the dominant color and a color palette for an attachment image into post_meta.

Installation

The dominant color and color palette is automatically saved on upload and edit to post meta.

You need to then use get_post_meta to retrieve the “dominant_color_hex” or “dominant_color_rgb” meta key. hex returns a string, including the #, rgb returns an array with key 0 as red, 1 as green, and 2 as blue.

Alternatively, you can use the meta keys “color_palette_rgb” and “color_palette_hex” to get an array of 8 colors that feature prominently in the image.

Frequently Asked Questions

No FAQ available

Review feed

No reviews available

Screenshots

  1. Shows the plugin in use on hellobrstl.com

    Shows the plugin in use on hellobrstl.com

  2. Shows the plugin in use on hellobrstl.com

    Shows the plugin in use on hellobrstl.com

  3. Shows the plugin in use on hellobrstl.com

    Shows the plugin in use on hellobrstl.com

Changelog

2.2.0

Modernise javascript for deprecated jQuery handlers
Update to latest version of PHP Color Thief
Bump version requirements to match color thief and a modern-ish WordPress (5.4+)

2.1.0

Support translated languages (Submit your translation at translate.wordpress.org!)

2.0.1

Fix a bug where loading our JS in the footer would cause a javascript error.

2.0

Add a colour picker to the attachment edit screen to override the dominant color with a custom pick.
The WordPress media gallery will now let you pick a dominant color override which will be returned in place of dominant_color_hex/rgb when set.
It’ll also let you generate a palette for legacy images uploaded before you installed the plugin.

1.0

Initial Build