
The RGBA Color Picker is a color picker that supports transparency colors in RGBA-Mode.
The plugin offers the possibility to customize the color palette according to your own wishes. You can define your own custom color palette with the acf/rgba_color_picker/palette filter. In addition, you can define an individual color palette for each field in the field settings.
New in version 1.2.0
If there are a lot of colors for the color palette, the color fields are getting very tiny. To prevent this, the color fields are now displayed in several rows (with a maximum of 10 colors per row). So it is possible to define a lot of colors for the standard palette.
Furthermore, the color picker is now absolutely positioned and this does not shift other elements of the page every time the color picker is opened.
This plugin works only with the ACF PRO (version 5.5.0 or higher).
Use the acf/rgba_color_picker/palette filter to create your own standard color palette for the color picker. Your custom standard color palette, just like the default color palette, can be overridden in the field settings for each field individually.
Put a code like this into your themes functions.php (you can use HEX or RGBA color values and can also mix them):
<?php function set_acf_rgba_color_picker_palette() { $palette = array( '#FFF', '#0018ff', '#00FF36', 'rgba(255,168,0,0.7)' ); return $palette; } add_filter('acf/rgba_color_picker/palette', 'set_acf_rgba_color_picker_palette'); ?> If you have an options page where you define some standard colors, create an array from this options like this:
<?php function set_acf_rgba_color_picker_palette() { // optional - add colors which are not set in the options page $palette = array( '#FFF', '#000' ); if ( have_rows('YOUR_COLOR_REPEATER_FIELD', 'YOUR_OPTIONS_PAGE') ) { while( have_rows('YOUR_COLOR_REPEATER_FIELD', 'YOUR_OPTIONS_PAGE') ) { the_row(); $palette[] = get_sub_field('YOUR_COLOR_FIELD'); } } return $palette; } add_filter('acf/rgba_color_picker/palette', 'set_acf_rgba_color_picker_palette'); ?> This is an example using a repeater field to set the colors; if you store your colors within a string, convert this string into an array.
If you dont want to show a color palette set the return value of the filter to false:
<?php add_filter('acf/rgba_color_picker/palette', '__return_false'); ?> Setting the color palette to false will disable and hide the “Color Palette” and “Hide Color Palette” options in the field settings.
Starting from $0 per month.
Rating
Reviewers
5 reviews
Tags
Developed By
dreihochzwo
Quick & Easy
Common Ninja has a large selection of powerful Wordpress plugins that are easy to use, fully customizable, mobile-friendly and rich with features — so be sure to check them out!
Testimonial plugins for Wordpress
Galleries plugins for Wordpress
SEO plugins for Wordpress
Contact Form plugins for Wordpress
Forms plugins for Wordpress
Social Feeds plugins for Wordpress
Social Sharing plugins for Wordpress
Events Calendar plugins for Wordpress
Sliders plugins for Wordpress
Analytics plugins for Wordpress
Reviews plugins for Wordpress
Comments plugins for Wordpress
Portfolio plugins for Wordpress
Maps plugins for Wordpress
Security plugins for Wordpress
Translation plugins for Wordpress
Ads plugins for Wordpress
Video Player plugins for Wordpress
Music Player plugins for Wordpress
Backup plugins for Wordpress
Privacy plugins for Wordpress
Optimize plugins for Wordpress
Chat plugins for Wordpress
Countdown plugins for Wordpress
Email Marketing plugins for Wordpress
Tabs plugins for Wordpress
Membership plugins for Wordpress
popup plugins for Wordpress
SiteMap plugins for Wordpress
Payment plugins for Wordpress
Coming Soon plugins for Wordpress
Ecommerce plugins for Wordpress
Customer Support plugins for Wordpress
Inventory plugins for Wordpress
Video Player plugins for Wordpress
Testimonials plugins for Wordpress
Tabs plugins for Wordpress
Social Sharing plugins for Wordpress
Social Feeds plugins for Wordpress
Slider plugins for Wordpress
Reviews plugins for Wordpress
Portfolio plugins for Wordpress
Membership plugins for Wordpress
Forms plugins for Wordpress
Events Calendar plugins for Wordpress
Contact plugins for Wordpress
Comments plugins for Wordpress
Analytics plugins for Wordpress
Common Ninja Apps
Browse our extensive collection of compatible plugins, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.
Add a call button to your site so visitors can tap to start a phone call instantly, improving direct communication access.
Add an AI chatbot that answers user questions by crawling your site, using uploaded content, and collecting chat interactions.
Display locations with company branch flip cards that help customers find nearby offices, understand key details, and enjoy a smoother overall experience.
Show verified customer feedback with Google Reviews to build trust, strengthen credibility, and help visitors make confident purchase decisions.
Add a logo slider to your site to showcase clients and partners, strengthen brand credibility, and build trust with new visitors.
Slide in panel that appears from the top or bottom to highlight offers, capture attention, and guide visitors toward more conversions.
Show your Amazon product reviews with My Reviews on Amazon to build trust, boost credibility, and help visitors make confident purchase decisions.
Present your team with a structured team member list that builds trust, supports credibility, and helps visitors connect with the people behind your brand.
Create interactive flash cards that present questions and answers in a clear, customizable format to support learning, training, and user engagement.
Use an event list to highlight upcoming activities, improve visibility, and help visitors discover events that increase attendance and engagement.
Use a live weather forecast widget to show current conditions and upcoming predictions, giving visitors real time local weather updates for better planning.
Use skill flip cards to showcase your abilities in a clear, interactive format that strengthens your profile and improves your chances of getting hired.
More plugins
The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!
