Full Color Panel
Pick a color in a saturation area with hue and transparency sliders, or type any CSS color straight into the input.
NWD Color Picker (HEX/RGB/HSL) was built to give Bubble the color input it never had. Built as a native-like input, it brings a full color panel, transparency, presets, an eyedropper and typed colors together in one polished component, and it can publish a truly empty value when no color is chosen. Fully customizable through 30+ properties, giving you complete control over every visual and behavioral detail.
Built for what Bubble does not cover.
Bubble has no native color input. The usual workaround is a text field for a hex code, which takes any typo as a valid value, shows no preview of the color, has no transparency, and never lets anyone pick by eye, which is how people choose a color in the first place.
Pick a color in a saturation area with hue and transparency sliders, or type any CSS color straight into the input.
Grab any color on screen with the eyedropper, or offer a row of preset colors for the picks people make most.
Three input layouts and a swatch you can shape, with every part of the picker open to styling.
Publishes an empty value when no color is chosen, so an optional color field in your database can really stay empty.
Fully operable from the keyboard and announced to screen readers, with motion preferences respected.
Everything the input knows is available to your workflows, and every change is an event you can react to.
In detail
Place the plugin element wherever you need it.
Adjust the settings to match your use case, including the layout, the output format, the transparency, the preset colors, and the default value.
Use the value changed event to capture the confirmed color, and read the exposed states to use them anywhere in your app.
For basic styling of the input, use Bubble's native properties such as font, background, border, border radius, padding and box shadow. The properties in this section cover what is specific to the color picker.
Text displayed in the input while it has no value.
Color of the placeholder text.
Format of the value and of the text shown in the input.
Which parts the input shows: compact is the color swatch alone, standard adds the color code next to it, and full adds the opacity field as well. Enabling transparency inside the panel is a separate setting.
Border radius of the input swatch, in pixels. Use 0 for a square swatch, and a value equal to or greater than half its size for a circle. It is independent of the element's native roundness, and applies in both layouts. The preset swatches and the swatch inside the panel are not affected.
Outline drawn over the swatch, always on all four sides so it stays visible against any background. Line is a thin outline, shadow is a drop shadow under the swatch, and veil is an inner relief shaded from top to bottom. The tone of line and veil follows the chosen color: dark over light colors, light over dark ones.
Shows the color code on hover, over the input swatch and over each preset.
Time (in milliseconds) before the tooltip appears after hover.
Color applied on load and on reset (hex, rgb or hsl).
Adds the opacity slider.
Shows the selected color inside the panel, in a field that switches between hex, rgb and hsl with each click, next to a button that copies it. The format chosen here changes only what the panel shows, never the value the input publishes.
Turns the color preview inside the panel into an eyedropper, to pick a color from anywhere on the screen. Only Chrome and Edge support it; elsewhere the preview stays a preview.
Preferred or forced opening direction of the floating panel relative to the input.
Opening animation of the floating panel.
Background color of the floating panel.
Sets the border color of the floating panel.
Intensity of the glassmorphism effect on the floating panel.
Color of the divider line above the presets. Leave it empty to follow the panel background.
Shows the preset swatches inside the panel. Turning it off hides them even when the list is filled.
Title shown above the preset colors. Leave it empty to show the presets without a title.
Color of the title above the preset colors. Leave it empty to follow the element's font color.
Colors shown as quick picks in the panel. One color per line, and it accepts a dynamic list, so the palette can come from your data.
Disables the component, preventing any interaction.
Input background color when disabled.
Input border color when disabled.
Input font color when disabled.
Marks the field as required and enables input validation.
Input background color when invalid.
Input border color when invalid.
Input background color when focused.
Input border color when focused.
Name read by screen readers. When empty, uses the placeholder or the visible label.
Hint read by screen readers after the name. Empty for none.
Values the element exposes for the rest of the page to read.
The color is published in five formats at the same time, plus every channel as a separate number. Use value (rgba) for Bubble's own color fields, and contrast color when text has to stay readable on top of the chosen color.
Selected color in the chosen format. Empty when no color is selected.
Selected color as hex (#RRGGBB or #RRGGBBAA).
Selected color as rgba().
Selected color as hsla(), always with the alpha channel.
Selected color as oklch(), for custom CSS. Bubble's own color fields do not read this format; use value (rgba) for those.
Red channel of the selected color, from 0 to 255.
Green channel of the selected color, from 0 to 255.
Blue channel of the selected color, from 0 to 255.
Hue of the selected color, from 0 to 360.
Saturation of the selected color, from 0 to 100.
Lightness of the selected color, from 0 to 100.
Opacity from 0 to 1.
Black or white, whichever reads better on top of the selected color. Transparency is ignored, because what shows through is the background behind the element.
Yes when the selected color is dark enough to need light text on top of it. Empty color reads as not dark.
True when the component is not disabled.
True when the input is marked as required.
True when the value is accepted. False when it is required and empty. It updates on every change, so a workflow can rely on it; the invalid style only shows after the person leaves the field or closes the panel, or when a workflow sets the value.
True while the input has focus.
Where a workflow can start.
Triggered when a different color is confirmed: closing the panel, picking a preset or resetting.
What a workflow can tell the element to do.
The actions can be triggered from any workflow event. The plugin also responds to Bubble's native reset actions (Reset a group/popup).
Restores the default color, or clears it.
Focuses the input and opens the color panel.
Sets the color from a workflow, in any CSS format the input accepts. An empty value clears the color and a value that is not a color is ignored.
Yes applies the value even while the element is disabled. No makes the action do nothing in that state.
New color. Accepts any CSS color the input accepts when typed, in any format. An empty value clears the color, and an unrecognized value is ignored.
No. Place the element on the page, configure the properties in the editor, and read the exposed states in your workflows. Nothing needs to be installed and no external service is involved.
Anything the browser understands as a CSS color: named colors such as tomato, hex with 3, 4, 6 or 8 digits, rgb, hsl and hwb, and the modern formats lab, lch, oklab, oklch, color() in any color space and color-mix(). The output format chosen in the properties does not restrict what can be typed; it only decides how the value comes back.
Yes, and that is unusual: the element publishes an empty value when no color is chosen, so an optional color field in your database can really stay empty instead of defaulting to black or white. The Set value action clears the color when it receives an empty value.
Use value (rgba). With transparency enabled, the hex output has 8 digits, and Bubble's own color fields do not read that format. The value (rgba) state always works, with or without transparency.
The editor preview only shows values typed as literals. If the default value comes from a dynamic expression, the canvas shows the empty pattern while the app shows the color normally. This is a limitation of the Bubble editor, not of the element.
Yes. The visual properties support Bubble's predefined styles, so a look can be saved once and applied to every input in the app. A few sizing fields are deliberately not dynamic, and that is what lets them travel inside the style instead of being set one input at a time.
This plugin is maintained by GCS Studios and is part of the NWD UI - Input family, form controls built from scratch for Bubble, inspired by a personal component library originally built for React. Each one is carefully designed and tested in real applications before release, for the level of control, polish and reliability that native Bubble inputs often do not provide. See more plugins on the GCS Studios contributor page.
Each control here is drawn by the plugin instead of being restyled from a native one, so they match each other across the library and keep the same shape in every browser.