跳到内容

Color Palette Generator

v1.7.0

Houke de Kwant · 2017年2月6日 上架

This plugin generates color palettes for your WordPress images and appends them to your content.

正在使用
80+
评分
5.0 / 5
累计下载
4,488
最近更新
2018年12月24日
4 条评价需要 WordPress 4.0+已测试到 4.9.36

贡献者

截图

The Color palette generator settings page
The Color palette generator settings page
A new media library column will be available
A new media library column will be available
When inserting images into your content, new options will be available
When inserting images into your content, new options will be available
Add a widget to your sidebar
Add a widget to your sidebar
The palette in use
The palette in use
A list of generated palettes
A list of generated palettes

This plugin is ideal for blog owners who like to do something more with their images, or for webshop owners who like to filter products by color. When inserting images you have the option to show the palette for that image. You can also use the following shortcode to show a specific image with palette: [colorpalette attachment="56" dominant="false" colors="10" size="large" random="true"]

Features

  • Generate color palettes per image
  • Bulk-generate color palettes for all images
  • Allows configuration of number of unique colors per image
  • Allows configuration of auto appending palettes on attachment pages
  • See stats of generated palettes
  • Filter attachments by color
  • Add color search widget to your sidebar
  • Use a shortcode to show an image with a palette in your content.

Developers

If you don’t like the way the plugin outputs the palettes, or you want to create custom color queries yourself, use the wordpress taxonomy functions. There are 2 new taxonomies added when the plugin is activated: cpg_dominant_color and cpg_palette. The first one holds one color per image, the dominant color (this color is used to link the image to one of the main colors used in the color search functions). The second one holds the palette, and the number of colors is based on what the site owner has entered (default = 10).

Special thanks

TODO

  • Better uninstall functions (attachment meta needs to be removed)
  • Generate palette on upload

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums