Plugin categories

Create a Website with AI
Dominant Color

Dominant Color

A WordPress plugin to automatically save the dominant color and a color palette for an attachment image into post_meta. Requires: PHP >= 7.

4.8

Rating summary

5

Reviews

300

Active installations

Dominant Color
Dominant Color
Dominant Color
Dominant Color

Overview

Compatibility

Installation instructions

Customer support & learning resources

Changelog

Main benefits

Automatically saves dominant color

Generates color palette

Stores data in post_meta

Enhances image metadata

Improves visual consistency

About this plugin

Categories: Media Management
Version: 2.2.0
Last updated: 16-04-2024
WordPress version: 5.4
Tested up to: 6.5.5
PHP version required: 7.2
Languages: English (UK), Deutsch

Overview

This WordPress plugin simplifies the task of managing and utilizing colors within your website by automatically extracting and saving the dominant color and a complementary color palette from each attachment image into post_meta. This feature enables users to seamlessly integrate consistent and visually appealing color schemes into their posts and pages, enhancing the overall aesthetic of their website without the need for manual color selection or external tools. Ideal for designers, photographers, and content creators, this plugin ensures that color harmonization is effortless and efficient, maintaining the visual coherence of your site's content.

Automatic Color Extraction

  • Automatically identifies and saves the dominant color of an image.
  • Eliminates the need for manual color analysis.
  • Ensures consistent color data across all images.

Color Palette Generation

  • Generates a comprehensive color palette for each image.
  • Provides a range of colors that complement the dominant color.
  • Useful for design and aesthetic consistency.

Integration with post_meta

  • Saves color data directly into post_meta for easy access.
  • Allows for seamless integration with other WordPress functionalities.
  • Facilitates advanced customization and theming options.

Enhanced Visual Consistency

  • Helps maintain a cohesive visual style across the website.
  • Improves the overall aesthetic appeal of posts and pages.
  • Supports better user experience through consistent color usage.

Features list

Feature

Free version

Compliance with the EU Omnibus Directive

Ensures adherence to EU pricing regulations.

Logs prior prices in custom field

Records previous prices in a dedicated custom field.

Displays lowest price in the last 30 days

Shows the lowest price from the past 30 days.

Adds fields for lowest price and effective date in product edit view

Includes fields for lowest price and its effective date in the product edit screen.

Shows lowest price on product page

Displays the lowest price directly on the product page.

Shortcode support for displaying lowest price

Provides shortcodes to display the lowest price.

Action hooks for WooCommerce products

Offers action hooks for WooCommerce product customization.

Available in WordPress repository

Can be found and installed from the WordPress plugin repository.

Pricing

Free Plan

$0 / free

Plan includes

Compliance with the EU Omnibus Directive
Logs prior prices in custom field
Displays lowest price in the last 30 days
Adds fields for lowest price and effective date in product edit view
Shows lowest price on product page
Shortcode support for displaying lowest price
Action hooks for WooCommerce products
Available in WordPress repository
Buy Now

In some cases companies have different prices based on various components like a location. As a result the prices displayed here can differ from the ones you see on their websites.

See all pricing options

Rating and reviews

4.8

Rating summary

5

Reviews

300

Active installations

5
4
3
2
1

User sentiment analysis

Users appreciate this WordPress plugin for its simplicity and thoroughness, particularly in making image-laden pages visually appealing by determining and using dominant colors from images. What users like is the ability to override the default dominant color and its lack of scripts or CSS that interfere with custom themes, enhancing custom development. It efficiently performs color calculations upon image upload, saving server resources during page rendering. However, users note a few drawbacks, including the plugin not being tested with recent WordPress updates, lack of a bulk edit feature for the image gallery, and insufficient documentation on certain meta_keys like ‘dominant_override’.
willwenzel

willwenzel

16 Apr, 2024

This plugin is perfect in its simplicity. Developers thought of everything, and it makes pages with images look beautiful. PLUS, if you don’t like the color they pick to be dominant, you can choose another color from the image. So well thought out. I just wish WordPress wouldn’t bug me saying it hasn’t been tested with the last 3 releases. It works perfectly, and probably will regardless of updates. Here’s how I use it in a theme in case anyone reading this is struggling. if (has_post_thumbnail()) {$featured_image_id=get_post_thumbnail_id( );}$imageColor = get_color_data($featured_image_id, ‘dominant_color_hex’, ‘true’);$colorPaletteArray = get_post_meta ($featured_image_id, ‘color_palette_hex’, ‘true’);$complimentaryColor1 = $colorPaletteArray[0];$complimentaryColor2 = $colorPaletteArray[1];$complimentaryColor3 = $colorPaletteArray[2];$complimentaryColor4 = $colorPaletteArray[3]; And then I just assign $imageColor, and it’s 4 complimentary colors, to the relevant divs in the template. Genius plugin, and thank you for creating it.
Ngo Quang Dao

Ngo Quang Dao

29 Oct, 2019

Useful plugin, please add function to bulk edit all images on gallery 🥰
Justin Moreland

Justin Moreland

12 Dec, 2018

I like this and how it does what it says. I like also that it doesn’t enqueue any scripts or CSS into the page. Great for custom theme development. Also seems to work well in WordPress 5.0 (newest at the time of this review).
isteiner

isteiner

18 Mar, 2016

Pulls out both the dominant color and a nice color palette. Far more efficient to do this calculation once on upload rather than via PHP or JavaScript when rendering the page. Perfect!
Sii Cockerill

Sii Cockerill

10 Nov, 2015

I had to search the post_meta table to find out how the ‘dominant_override’ meta_key – it would have been useful to find that in the release notes. A bulk calculate feature would be excellent – along with a way of colour picking the override from the posts screen in the WP Dashboard. Otherwise, perfect for what I need 🙂

FAQ

What does this plugin do?

How does the plugin determine the dominant color?

Can I customize the color palette generated by the plugin?

Where is the color information stored?

Is the plugin compatible with all image formats?

Does the plugin affect the performance of my website?

Can I use this plugin with existing images in my media library?

Is there any way to view the saved color information?