Color picker

The UI in this lesson may seem different if you've enables the Style Panel Beta! This content will be updated soon!
This video features an old UI. Updated version coming soon!
This video features an old UI. Updated version coming soon!
Color picker

Choosing a color for fonts, backgrounds, borders, or whatever is one of the most common operations when designing a website. The color picker has different tools that allow you to:

  1. Pick a color and set its opacity
  2. Create swatches

Picking a color and setting its opacity

You can pick a color in one of the following ways:

  1. Using the eyedropper tool
  2. Using the color plane and sliders
  3. Typing in values in the appropriate input fields.
If you’re styling something that you can see on the page, color changes will update in real-time.

Using the eyedropper tool

To pick a color from any element on the canvas, use the eyedropper tool.


The eyedropper tool is a great way to pull a precise color from anywhere on the canvas. So if you want to pull a color from an image, or an existing class on the page, you can do that using this tool. The eyedropper tool is a Chrome browser extension that you can install from Chrome Web Store.

Install the eyedropper extension.

Using the color plane and sliders

To pick a color from the spectrum, use the hue slider to choose a hue, then use the color plane to pick the right shade. If you want to make the color less opaque, use the opacity slider.

Color plane

The color plane allows you to pick the shade of the color you want to use. You can move the picker along the x-axis to adjust the saturation of the color, and along the y-axis to adjust the brightness. To change the color, use the hue slider below.

Hue slider

The hue slider allows you to pick the hue of the color you want to use from the color spectrum. You can, then, pick the right shade using the color plane above.

Opacity slider

The opacity slider allows you to specify the transparency level of your color. 100% will make the color fully opaque, any value below that will make the color see-through. This is useful when adding color overlays on images or creating see-through backgrounds.

Typing in values in the appropriate input fields

If  you want to get more precise when choosing a color, you can use web color names, Hex codes, HSB/HSBA values, or RGB/RGBA values. You can paste these values in in any color field in the Style panel or in the HEX input field in the color picker. Alternatively, you can breakdown the code and input each value in its own field:

  • Hex values in the HEX field
  • HSBA values, broken down, in the H S B and A fields
  • RGBA values, broken down, in the R G B and A fields

You can toggle between HSB and RGB by clicking the labels.

HEX input field

This input field supports all web color formats. So, you can type in or input any HTML color value. All values will be converted to HEX.

Learn more about HEX codes and web color formats.

HSB and RGB inputs

Next to the HEX input field, you’ll notice 3 input fields labeled “H S B”. If you click the label, it will switch to “R G B”. You can click the label again to switch back.

“H” stands for hue, and you’ll notice as you change the color using the hue slider, the value in the field labeled “H” will change as well. “S” stands for saturation and “B” stands for brightness. These values will be updated as you move the picker in the color plane. If you know the HSB values of the color you want to use, you can input the values in the appropriate fields.

If you know the RGB values of your color, click the HSB label and input the value for Red “R”, Green “G”, and Blue “B”. These fields will also automatically show the correct values no matter what tool you’ve used to pick your color.

“A” or Alpha input field

“A” stands for alpha channel. The alpha channel determines the transparency of the color. This value is impacted by the opacity slider. The Alpha value can be anything between 0 and 100%. If you know the alpha value of your color, multiply it by 100 and type it in this input field.

Learn more

Creating swatches

By default, the color picker has two default static swatches: black and white. Once you picked your color, you can save it as a swatch so you can reuse it across your project.

Learn more about creating and managing swatches.

Browser support

Can I Use ? Data on support for the feature across the major browsers from

Was this helpful?

Thanks for the feedback! If you can, please add additional feedback below.

Oops! Something went wrong while submitting the form

Thank you! Your feedback has been received!

Oops! Something went wrong while submitting the form