Color Tools for Picking, Converting and Checking Contrast

Go from a single brand color to a usable palette, convert values for code, and confirm your text stays readable.

Building and checking a color scheme

Most color work begins with one value. The color picker lets you choose visually and copy the result in several formats, while the color converter translates between HEX, RGB and HSL when a design file and a stylesheet disagree on notation. For the single most common conversion there are dedicated HEX to RGB and RGB to HEX tools.

From there, expand outward. The palette generator suggests a set of related colors from a starting point, and Color Shades builds lighter tints and darker shades of a base color, a quick way to get hover states, borders and background tones that belong together. The gradient generator produces linear and radial CSS backgrounds ready to paste.

Check contrast before you ship. The contrast checker calculates the ratio between text and background colors against WCAG levels: normal body text needs at least 4.5:1 for level AA, and large text needs 3:1. A palette that looks fine on a bright monitor can fail on a dim phone screen, so test the real pairs you will use rather than isolated swatches. Also avoid letting color alone carry meaning, such as red for errors with no icon or label.

Color math is light enough to run instantly in the browser, and no values are uploaded. To pull colors out of a photo or logo, use the image color extractor, and when the palette is settled, the CSS generators turn it into shadows, gradients and effects.

All Colour Tools (8)

Common questions

What is the difference between HEX, RGB and HSL?

They describe the same colors in different notation. HEX is a compact six-digit form of RGB, RGB lists red, green and blue channels from 0 to 255, and HSL uses hue, saturation and lightness, which makes it easier to create lighter or darker variants by hand.

What contrast ratio do buttons and icons need?

WCAG 2.1 asks for at least 3:1 between meaningful graphical elements, such as icons and input borders, and the colors around them. Text inside a button follows the text rules: 4.5:1 for normal size and 3:1 for large text.

Why does my color look different on another screen or in print?

Screens differ in calibration and color gamut, and print uses a different color model altogether. HEX and RGB values are exact for the web, but what people see varies by device. For print work, ask your printer which color profile they use.