Color Picker logo

Color Picker

By Explified

A beautiful color picker custom field plugin for Strapi v5. Features a visual color selector powered by react-colorful, HEX color validation, configurable preset color chips, and default color options.

Latest version

v1.1.0

released March 28, 2026

npm install @explified/strapi-plugin-color-picker

@explified/strapi-plugin-color-picker

A color picker custom field plugin for Strapi v5.

Features

  • Visual color picker powered by react-colorful
  • Stores colors as HEX strings (e.g. #0055FF)
  • Configurable preset color swatches
  • Built-in HEX validation with customizable regex
  • Default color and required field options
  • Internationalization support

Installation

npm install @explified/strapi-plugin-color-picker

Configuration

Add the plugin to your config/plugins.ts (or .js):

export default () => ({
  'color-picker': {
    enabled: true,
  },
});

Rebuild and restart Strapi:

npm run build
npm run develop

Usage

  1. Open the Content-Type Builder in the Strapi admin panel.
  2. Add or edit a content type.
  3. Click "Add another field" and select the "Custom" tab.
  4. Choose "Color" from the list.
  5. Configure the field options as needed:
    • Default HEX color (default: #0055FF)
    • Preset colors as comma-separated HEX values
    • RegExp validation pattern
    • Required field toggle

Compatibility

Plugin VersionStrapi Version
1.x5.x

License

MIT

Author

Explified — hello@explified.com

Submit your content

Share your work with the community and get it listed in the Strapi ecosystem for everyone to discover and use.

Submit
Submit your content