Learn how to choose colors and create swatches using the 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:
You can pick a color in one of the following ways:
You can check the contrast ratio of text on your site directly from the color picker in Webflow, which displays not only the contrast ratio of text but also the WCAG level rating that corresponds to that contrast ratio.
Contrast ratio impacts your site’s accessibility. Sufficient contrast ratio depends on the foreground (your text) and background colors (the background over which the text appears), font size, and font weight.
You can also toggle the "eye" icon in the contrast ratio area of the color picker to see the curves between AA, AAA, and a Fail rating on WCAG.
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.
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.
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.
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.
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.
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:
You can toggle between HSB and RGB by clicking the labels.
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.
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” 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.
Once you pick a color, you can save it as a swatch to reuse it across your project.
To save your swatch:
Part of the power of swatches is that you can update the swatch’s color in the future, and immediately change the colors of all elements that use the swatch you’re updating. This is a great way to maintain color consistency across your project, quickly and easily.
To edit a swatch’s color:
If you have an element whose color uses a swatch, you always have the option to unlink the color from the swatch. This could be useful if you plan on editing the swatch color in the future, but don’t want it to affect a particular element.
To unlink a color from a swatch:
The color is displayed with its HEX value only, and any changes to the original swatch color will not affect the unlinked element.
Something went wrong while submitting the form. Please contact email@example.com