ACF Color Swatches

ACF Color Swatches Install Statistics

-11
0%
Today: 0 Yesterday: 11 All-time: 16,062 downloads
ACF Color Swatches Icon

Try plugin: ACF Color Swatches

We'll create fresh WordPress site with ACF Color Swatches installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About ACF Color Swatches

An add-on for Advanced Custom Fields to allow users to select from a list of color choices. Setting up the field works exactly like setting up a radio …

1


0


0


0


0

updated: 6 years ago
since: 6 years ago
author: Nick Ford

Description

An add-on for Advanced Custom Fields to allow users to select from a list of color choices. Setting up the field works exactly like setting up a radio button list, the main difference being that the key will also be used to style the element.

This is useful for allowing users to pick from a limited selection of colors, rather than enter an arbitrary hex value or choose from a color picker.

Supports all of the following color formats:

  • hex: #FF0000
  • rgb: rgb(255,0,0)
  • rgba: rgba(255,0,0, 1)
  • hsl: hsl(0,100%,50%)
  • hsla: hsla(0,100%,50%, 1)
  • name: red

Note: you may also use none to show a transparent swatch with a checkerboard background.

Compatibility

This ACF field type is compatible with:

  • ACF 4
  • ACF 5 (PRO version)