Color Tools

Four free color utilities for designers and developers: pick a color and read it in every format, generate harmonious palettes, build CSS gradients, and check text contrast against WCAG. Click any value to copy it.

Advertisement

Color Picker

Choose a color with the picker or type a HEX value. Every format updates together — click any card to copy it.

Shorthand HEX like #39c works too — it expands automatically.

Palette Generator

Five colors that work together, built from classic color-harmony rules. Click a swatch to copy its HEX.

or press Space

Gradient Maker

Blend two colors, set the direction, and copy the ready-to-paste CSS.


        
      
135°

Contrast Checker

Check a text/background color pair against the WCAG accessibility guidelines. AA is the standard most sites aim for; AAA is the stricter level.

The quick brown fox

Jumps over the lazy dog. This paragraph is normal body text at 16px, and the headline above counts as large text.

— contrast ratio
(21:1 is the maximum)
AA · Normal text
needs 4.5:1
—
AA · Large text
needs 3:1
—
AAA · Normal text
needs 7:1
—
AAA · Large text
needs 4.5:1
—

Large text means at least 24px, or 18.66px and bold. The ratio is symmetric — swapping text and background gives the same number.

Advertisement

Frequently asked questions

What is the difference between HEX, RGB, HSL and HSV?

They are four ways of describing the same color. HEX (like #3A7BD5) is a compact code used in CSS and design tools. RGB lists how much red, green and blue light the color contains, each from 0 to 255. HSL describes a color by hue (its position on the color wheel, 0–360°), saturation and lightness, which makes it intuitive for creating shades and tints. HSV (also called HSB) swaps lightness for value/brightness, and is common in graphics software color pickers.

How do I convert a HEX color to RGB or HSL?

Pick or type the color in the Color Picker above and all four formats update instantly — click any value to copy it. Manually, a HEX code is just the red, green and blue channels written in base 16: #3A7BD5 means red = 3A (58), green = 7B (123), blue = D5 (213). HSL and HSV are then calculated from those RGB values using the hue angle on the color wheel.

What is a good contrast ratio for website text?

The WCAG guidelines set two levels. Level AA requires at least 4.5:1 for normal text and 3:1 for large text — this is the level most websites and apps should meet. Level AAA is stricter: 7:1 for normal text and 4.5:1 for large text. Pure black on pure white gives the maximum possible ratio of 21:1. Use the Contrast Checker above to test any pair before you ship it.

What counts as "large text" in WCAG?

WCAG defines large text as at least 18pt (24px), or at least 14pt (about 18.66px) if it is bold. Large text is allowed a lower contrast ratio because bigger letterforms are easier to read: 3:1 for AA and 4.5:1 for AAA, compared with 4.5:1 and 7:1 for normal text.

How do analogous, complementary and triadic palettes differ?

All three start from positions on the color wheel. Analogous colors sit next to each other (within about 30–60°), giving a calm, cohesive feel. Complementary colors sit opposite each other (180° apart) for maximum contrast and energy. Triadic colors are spaced evenly, 120° apart, balancing variety with harmony. A monochrome palette stays on a single hue and varies only saturation and lightness.

How do I use the gradient CSS this tool generates?

Copy the generated background: linear-gradient(...) declaration and paste it into any CSS rule — a page section, a button, or a card. The angle controls direction: 0deg points up, 90deg points right, 180deg points down, and 270deg points left. Linear gradients are supported by every modern browser with no images or extra files needed.