WP Manifestindependent plugin directory
manifest / content / acf-color-thief

Advanced Custom Fields: Color Thief

Grabs the dominant color or a representative color palette from an image. Uses javascript and canvas.

by Christoph Jeworutzki, Theo Tillberg · github.com/ttillberg/acf-color-thief · website

4stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/ttillberg/acf-color-thief/archive/refs/heads/master.zip

Readme

ACF Color Thief Field

Extracts and creates a colour palette from an uploaded image.


Description

Configure the field by specifying the name of an adjacent image field from which the palette should be extracted. The colour palette will update whenever the image changes. If no colour has previously been chosen, the first one from the palette gets selected by default.

Compatibility

This ACF field type is compatible with:

  • ACF 5

Installation

Automatic (Recommended)

To keep your plugin up to date, install the GitHub updater plugin and follow the instructions to install this repo.

Manual

  1. Copy the acf-color-thief folder into your wp-content/plugins folder
  2. Activate the Color Thief plugin via the plugins admin page
  3. Create a new field via ACF and select the Color Thief type
  4. Configure the field by specifying the name of the sibling field (must be an image field)

Changelog

Please see readme.txt for changelog

Read the full README on GitHub →