PHPackages                             log1x/acf-editor-palette - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. log1x/acf-editor-palette

ActiveWordpress-plugin[Utility &amp; Helpers](/categories/utility)

log1x/acf-editor-palette
========================

A replica Gutenberg color picker field for Advanced Custom Fields.

v1.3.1(4mo ago)101316.1k↓62.1%19[4 issues](https://github.com/Log1x/acf-editor-palette/issues)[3 PRs](https://github.com/Log1x/acf-editor-palette/pulls)PHPPHP &gt;=7.2CI passing

Since Dec 16Pushed 4mo ago6 watchersCompare

[ Source](https://github.com/Log1x/acf-editor-palette)[ Packagist](https://packagist.org/packages/log1x/acf-editor-palette)[ GitHub Sponsors](https://github.com/log1x)[ RSS](/packages/log1x-acf-editor-palette/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (10)Dependencies (2)Versions (29)Used By (0)

ACF Editor Palette
==================

[](#acf-editor-palette)

[![Latest Stable Version](https://camo.githubusercontent.com/95603483d3fc69949c2c3b332e6dfae1b8e0ab116c76e1ac9dbf5b39b1a14431/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c6f6731782f6163662d656469746f722d70616c657474653f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/95603483d3fc69949c2c3b332e6dfae1b8e0ab116c76e1ac9dbf5b39b1a14431/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c6f6731782f6163662d656469746f722d70616c657474653f7374796c653d666c61742d737175617265)[![Total Downloads](https://camo.githubusercontent.com/ee3d3a12983ee9e707069bd6bec6db9a403e6507199abd504a904f6cbcd08850/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c6f6731782f6163662d656469746f722d70616c657474653f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/ee3d3a12983ee9e707069bd6bec6db9a403e6507199abd504a904f6cbcd08850/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c6f6731782f6163662d656469746f722d70616c657474653f7374796c653d666c61742d737175617265)[![Build Status](https://camo.githubusercontent.com/0651dc3974d97da9475511d4f5b5d373fe5d9f91818b54e6a0554e043a49893f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6c6f6731782f6163662d656469746f722d70616c657474652f636f6d7061746962696c6974792e796d6c3f6272616e63683d6d6173746572267374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/0651dc3974d97da9475511d4f5b5d373fe5d9f91818b54e6a0554e043a49893f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6c6f6731782f6163662d656469746f722d70616c657474652f636f6d7061746962696c6974792e796d6c3f6272616e63683d6d6173746572267374796c653d666c61742d737175617265)

A Gutenberg-like editor palette color picker field for Advanced Custom Fields.

[![Field Example](https://camo.githubusercontent.com/970d94d0a5b02edfc8f89c0dc654d3a2987da4ba0dc62fc616491fad824ba161/68747470733a2f2f692e696d6775722e636f6d2f624b4b553453722e676966)](https://camo.githubusercontent.com/970d94d0a5b02edfc8f89c0dc654d3a2987da4ba0dc62fc616491fad824ba161/68747470733a2f2f692e696d6775722e636f6d2f624b4b553453722e676966)

Features
--------

[](#features)

- Colors are automatically loaded from `theme.json` and/or the editor palette.
- Return format includes the default [palette keys](https://developer.wordpress.org/block-editor/developers/themes/theme-support/) as well as background and text color classes for convenience.
- Default value can optionally be set using the color's slug.
- Colors can optionally be allowed/excluded from the palette.

Requirements
------------

[](#requirements)

- [PHP](https://secure.php.net/manual/en/install.php) &gt;= 7.2
- [ACF PRO](https://www.advancedcustomfields.com/pro/) &gt;= 5.0

Installation
------------

[](#installation)

### Bedrock

[](#bedrock)

Install via Composer:

```
$ composer require log1x/acf-editor-palette
```

### Manual

[](#manual)

Download the [latest release](https://github.com/Log1x/acf-editor-palette/releases/latest) `.zip` and install into `wp-content/plugins`.

Usage
-----

[](#usage)

[![Field Group Example](https://camo.githubusercontent.com/563f06f711236e66865bbb0566456f86f3c89d29d31e9720862c8d5c5417c061/68747470733a2f2f692e696d6775722e636f6d2f617758716b46412e706e67)](https://camo.githubusercontent.com/563f06f711236e66865bbb0566456f86f3c89d29d31e9720862c8d5c5417c061/68747470733a2f2f692e696d6775722e636f6d2f617758716b46412e706e67)

```
^ array:5 [▼
  "name" => "Green (500)"
  "slug" => "green-500"
  "color" => "#0e9f6e"
  "text" => "has-text-color has-green-500-color"
  "background" => "has-background has-green-500-background-color"
]
```

### ACF Composer

[](#acf-composer)

If you are on Sage 10 and using my [ACF Composer](https://github.com/log1x/acf-composer) package:

```
$field
  ->addField('my_color_field', 'editor_palette')
    ->setConfig('default_value', 'green-500')
    ->setConfig('allowed_colors', ['green-500', 'blue-500'])
    ->setConfig('exclude_colors', ['green-50', 'green-100'])
    ->setConfig('return_format', 'slug');
```

Bug Reports
-----------

[](#bug-reports)

If you discover a bug in ACF Editor Palette, please [open an issue](https://github.com/log1x/acf-editor-palette/issues).

Contributing
------------

[](#contributing)

Contributing whether it be through PRs, reporting an issue, or suggesting an idea is encouraged and appreciated.

License
-------

[](#license)

ACF Editor Palette is provided under the [MIT License](LICENSE.md).

###  Health Score

56

—

FairBetter than 97% of packages

Maintenance75

Regular maintenance activity

Popularity51

Moderate usage in the ecosystem

Community23

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 84.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~80 days

Recently: every ~156 days

Total

25

Last Release

130d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5745907?v=4)[Brandon](/maintainers/Log1x)[@Log1x](https://github.com/Log1x)

---

Top Contributors

[![Log1x](https://avatars.githubusercontent.com/u/5745907?v=4)](https://github.com/Log1x "Log1x (87 commits)")[![huubl](https://avatars.githubusercontent.com/u/50170696?v=4)](https://github.com/huubl "huubl (5 commits)")[![Levdbas](https://avatars.githubusercontent.com/u/17764157?v=4)](https://github.com/Levdbas "Levdbas (3 commits)")[![drbroad](https://avatars.githubusercontent.com/u/415519?v=4)](https://github.com/drbroad "drbroad (1 commits)")[![erikhartin](https://avatars.githubusercontent.com/u/32899252?v=4)](https://github.com/erikhartin "erikhartin (1 commits)")[![Jamiewarb](https://avatars.githubusercontent.com/u/2754728?v=4)](https://github.com/Jamiewarb "Jamiewarb (1 commits)")[![mike-sheppard](https://avatars.githubusercontent.com/u/1690006?v=4)](https://github.com/mike-sheppard "mike-sheppard (1 commits)")[![ajskelton](https://avatars.githubusercontent.com/u/2879067?v=4)](https://github.com/ajskelton "ajskelton (1 commits)")[![zcuric](https://avatars.githubusercontent.com/u/1560102?v=4)](https://github.com/zcuric "zcuric (1 commits)")[![daverobertson](https://avatars.githubusercontent.com/u/28947?v=4)](https://github.com/daverobertson "daverobertson (1 commits)")[![davidwebca](https://avatars.githubusercontent.com/u/412352?v=4)](https://github.com/davidwebca "davidwebca (1 commits)")

---

Tags

acf-fieldgutenbergwordpresswordpress-pluginwordpresswordpress pluginacfcolor pickergutenbergacf-field

###  Code Quality

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/log1x-acf-editor-palette/health.svg)

```
[![Health](https://phpackages.com/badges/log1x-acf-editor-palette/health.svg)](https://phpackages.com/packages/log1x-acf-editor-palette)
```

###  Alternatives

[hellonico/acf-country

A country field for ACF.

12197.5k](/packages/hellonico-acf-country)[log1x/navi

A developer-friendly alternative to the WordPress NavWalker.

370724.2k13](/packages/log1x-navi)[vinkla/extended-acf

Register advanced custom fields with object-oriented PHP

511302.5k19](/packages/vinkla-extended-acf)[log1x/acf-phone-number

A real ACF phone number field.

12078.0k](/packages/log1x-acf-phone-number)[freemius/wordpress-sdk

Freemius WordPress SDK

307160.4k12](/packages/freemius-wordpress-sdk)[log1x/poet

Configuration-based post type, taxonomy, editor color palette, block category, and block registration for Sage 10.

219306.7k1](/packages/log1x-poet)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
