Extracts and creates a colour palette from an uploaded image.
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.
This ACF field type is compatible with:
- ACF 5
To keep your plugin up to date, install the GitHub updater plugin and follow the instructions to install this repo.
- Copy the
acf-color-thief
folder into yourwp-content/plugins
folder - Activate the Color Thief plugin via the plugins admin page
- Create a new field via ACF and select the Color Thief type
- Configure the field by specifying the name of the sibling field (must be an image field)
Please see readme.txt
for changelog