Title: Advanced Custom Fields: Restrict Color Picker Options
Author: Adam Walter
Published: <strong>March 8, 2016</strong>
Last modified: January 25, 2022

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/acf-restrict-color-picker/assets/icon-256x256.png?rev=2030099)

# Advanced Custom Fields: Restrict Color Picker Options

 By [Adam Walter](https://profiles.wordpress.org/adamwalter/)

[Download](https://downloads.wordpress.org/plugin/acf-restrict-color-picker.1.3.1.zip)

 * [Details](https://en-au.wordpress.org/plugins/acf-restrict-color-picker/#description)
 * [Reviews](https://en-au.wordpress.org/plugins/acf-restrict-color-picker/#reviews)
 *  [Installation](https://en-au.wordpress.org/plugins/acf-restrict-color-picker/#installation)
 * [Development](https://en-au.wordpress.org/plugins/acf-restrict-color-picker/#developers)

 [Support](https://wordpress.org/support/plugin/acf-restrict-color-picker/)

## Description

Restrict Advanced Custom Fields color picker field to a specific subset of custom
colors. Removes the color wheel and slider from the field UI so the user can’t pick
any other colors

#### Features

**Include the color palette from the current theme** by enabling the option on the
plugin settings page.

**Get the current color options palette** in your template code with the `acfrcpo_get_color_options`
function.

## Screenshots

[⌊Comma-separated list of HEX color values used to define the color options. Optionally
include the current theme's color palette as well.⌉⌊Comma-separated list of HEX 
color values used to define the color options. Optionally include the current theme's
color palette as well.⌉[

Comma-separated list of HEX color values used to define the color options. Optionally
include the current theme’s color palette as well.

[⌊Simple color swatches allow the user to easily choose from your color set.⌉⌊Simple
color swatches allow the user to easily choose from your color set.⌉[

Simple color swatches allow the user to easily choose from your color set.

## Installation

 1. Upload `acf-restrict-color-picker` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.

## FAQ

### I have a question

Leave your question in the support tab and we’ll respond!

## Reviews

![](https://secure.gravatar.com/avatar/e32fbd9c275c4d7ba40ab0d9742f916f4feb433b2520d4d75cf8ae499b32ee69?
s=60&d=retro&r=g)

### 󠀁[Works like a charm](https://wordpress.org/support/topic/works-like-a-charm-2059/)󠁿

 [thehappyhipster](https://profiles.wordpress.org/thehappyhipster/) April 19, 2022

Perfect, easy solution. Awesome that it can fetch the theme colors defined in theme.
json to. Thank you for sharing!

![](https://secure.gravatar.com/avatar/9d6f492cce78f172a646b0bbdcefe25561a20fbd67043471efff5c6f77a8178f?
s=60&d=retro&r=g)

### 󠀁[WOW genau das habe ich gesucht!](https://wordpress.org/support/topic/wow-genau-das-habe-ich-gesucht/)󠁿

 [4system](https://profiles.wordpress.org/4system/) May 1, 2021

Einfach klasse. Vielen Dank.

![](https://secure.gravatar.com/avatar/86af312c6e42b965bbf25d173e769e3a66134e289a29a4715e9ec5f976068aac?
s=60&d=retro&r=g)

### 󠀁[This is Ok!](https://wordpress.org/support/topic/this-is-ok-3/)󠁿

 [Anne Warren](https://profiles.wordpress.org/annewarren/) December 4, 2020

I used it, felt great!

![](https://secure.gravatar.com/avatar/c1b8546355a0bedeeb061ebc0c7de8a3984c25a65aef1058ea93767f48d57a75?
s=60&d=retro&r=g)

### 󠀁[Perfect](https://wordpress.org/support/topic/perfect-7866/)󠁿

 [permanyer](https://profiles.wordpress.org/permanyer/) November 19, 2020

Perfect! 1M Thanks!

![](https://secure.gravatar.com/avatar/75d61c5dda00822a265604f6367f04dd5ecd8ca9a611c209982d346f84212c3a?
s=60&d=retro&r=g)

### 󠀁[Awesome Addon for ACF](https://wordpress.org/support/topic/awesome-addon-for-acf/)󠁿

 [makkal](https://profiles.wordpress.org/makkal/) October 24, 2016

Colors can be chosen easily. Thumps up.

![](https://secure.gravatar.com/avatar/5b6303e5ed5d3f44bb46ccf6d702123993e78b1a41fb5bdac95e136b026b2a80?
s=60&d=retro&r=g)

### 󠀁[Handy!](https://wordpress.org/support/topic/handy-39/)󠁿

 [ProfessionalWerewolf](https://profiles.wordpress.org/professionalwerewolf/) September
3, 2016

A solid plugin. Really handy for simplifying the color picker.

 [ Read all 7 reviews ](https://wordpress.org/support/plugin/acf-restrict-color-picker/reviews/)

## Contributors & Developers

“Advanced Custom Fields: Restrict Color Picker Options” is open source software.
The following people have contributed to this plugin.

Contributors

 *   [ Adam Walter ](https://profiles.wordpress.org/adamwalter/)
 *   [ Sean Dempsey ](https://profiles.wordpress.org/seanseansean/)
 *   [ antishow ](https://profiles.wordpress.org/antishow/)
 *   [ makkal ](https://profiles.wordpress.org/makkal/)

[Translate “Advanced Custom Fields: Restrict Color Picker Options” into your language.](https://translate.wordpress.org/projects/wp-plugins/acf-restrict-color-picker)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/acf-restrict-color-picker/),
check out the [SVN repository](https://plugins.svn.wordpress.org/acf-restrict-color-picker/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/acf-restrict-color-picker/)
by [RSS](https://plugins.trac.wordpress.org/log/acf-restrict-color-picker/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.3.1

 * Bug fix: Adds check for false return from get_theme_support (Thanks @faketib0
   and Dan Mensinger!)

#### 1.3

 * Adds option to include the current theme’s colors. Thank you to @mrwweb for this
   idea!
 * Adds acfrcpo_get_color_options function to get the current color palette. Thank
   you to @badjesus for the feature request!

#### 1.2.1

 * Fixes $l10n parameter syntax in wp_localize_script.

#### 1.2

 * Finally fixes long standing issue with multiple instances of color pickers.

#### 1.1

 * Change the plugin name to better match similar plugins in the ACF world.

#### 1.0

 * First version of the plugin

## Meta

 *  Version **1.3.1**
 *  Last updated **5 years ago**
 *  Active installations **1,000+**
 *  WordPress Version ** 4.0 or higher **
 *  Tested up to **5.9.20**
 *  PHP Version ** 7.0 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/acf-restrict-color-picker/)
 * Tags
 * [acf](https://en-au.wordpress.org/plugins/tags/acf/)[color](https://en-au.wordpress.org/plugins/tags/color/)
   [custom fields](https://en-au.wordpress.org/plugins/tags/custom-fields/)
 *  [Advanced View](https://en-au.wordpress.org/plugins/acf-restrict-color-picker/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  6 5-star reviews     ](https://wordpress.org/support/plugin/acf-restrict-color-picker/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/acf-restrict-color-picker/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/acf-restrict-color-picker/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/acf-restrict-color-picker/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/acf-restrict-color-picker/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/acf-restrict-color-picker/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/acf-restrict-color-picker/reviews/)

## Contributors

 *   [ Adam Walter ](https://profiles.wordpress.org/adamwalter/)
 *   [ Sean Dempsey ](https://profiles.wordpress.org/seanseansean/)
 *   [ antishow ](https://profiles.wordpress.org/antishow/)
 *   [ makkal ](https://profiles.wordpress.org/makkal/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/acf-restrict-color-picker/)