100% free
Color picker
Different lightness steps of your color. Useful for hover effects, shadows, and gradations.
Find and convert a color code
- Enter a HEX value, either six digits (e.g. #3B82F6) or the short form (e.g. #fff). You can leave out the #.
- Or set the color with the color field or with the sliders for hue, saturation, and lightness. "Random" picks a new color for you.
- On the right you can read HEX, RGB, and HSL, plus the individual RGB channels. You can copy each value with one click.
Under "Show more formats" you get two ready-made snippets for your code, a CSS variable and a Tailwind entry. The color name above the values is a rough label based on hue, saturation, and lightness, not a standardized name.
Which color palettes you get
The color picker calculates five palettes from your color. You can copy any color in them with one click.
| Palette | What you get |
|---|---|
| Lightness steps | Ten steps from 95% to 5% lightness, with the same hue and saturation |
| Complementary | One color 180° further around the color wheel |
| Analogous | Two colors, 30° to the left and right of yours |
| Triadic | Two colors at 120° and 240° |
| Split | Two colors at 150° and 210° |
Except for the lightness steps, every palette keeps the saturation and lightness of your base color.
Check color contrast right away
In the "Accessibility" tab, the color you picked counts as the text color. You only choose the background color, with the HEX field, the color field, or the "White" and "Black" buttons.
The tool shows the contrast ratio and rates it separately for normal and large text. For normal text, AA needs 4.5:1 and AAA needs 7:1. For large text, 3:1 is enough for AA and 4.5:1 for AAA. A text preview in three sizes shows how the combination looks. If you want to check more than one combination, use the contrast checker.
What the color picker can't do
- The tool has no eyedropper that picks colors from images or from your screen. You need to know or set the color code yourself.
- The field accepts three- and six-digit HEX values, but no transparency (no alpha channel).
- The sliders and the HSL display work with whole numbers. If you enter a HEX value, HEX, RGB, contrast, and copied values show exactly that value. Only the HSL numbers and the palettes calculated from them are rounded to whole numbers and can differ slightly. If you move a slider, the tool calculates from HSL again.
Frequently asked questions
What is the difference between HEX, RGB, and HSL?
What are complementary colors?
What is an analogous color palette?
What do hue, saturation, and lightness mean?
How do I build a color palette for my website?
Can I check contrast with the color picker?
Is the color picker free, and is my color sent anywhere?
Related tools
- Contrast CheckerChecks color pairs against the WCAG contrast requirements.
- Favicon GeneratorCreates every favicon size for browsers, iOS and Android from one image.
- SVG OptimizerRemoves unneeded code from SVG files to make them smaller.
- QR Code GeneratorCreates QR codes for URLs, text, vCards and Wi-Fi access.
Changelog
November 20, 2026
Exact HEX values
- • Fixed: a HEX value you enter is now used unchanged for the display, RGB, the contrast check, and copying. Before, it came back through rounded HSL values and could be off by a few steps
- • The FAQ mentions the built-in WCAG contrast check and that the tool has neither an eyedropper nor transparency
November 18, 2026
Short HEX codes
- • The HEX field now also accepts three-digit values such as #fff or f80 (the same as #ffffff and #ff8800)
- • Transparency (alpha channel with 4 or 8 digits) is still not supported
November 17, 2026
Guide and related tools
- • Added a guide with instructions and use cases below the tool
- • Added related tools at the end of the page
Show older versions
December 28, 2025
Accessibility check and color palettes
- • Added a WCAG contrast checker (AA and AAA)
- • Added automatic contrast ratio calculation
- • Added suggestions when the contrast is too low
- • Added a text-on-background preview
- • Improved color palette generation
December 8, 2025
Launch
- • Interactive sliders for hue, saturation, and lightness
- • Automatic conversion between HEX, RGB, and HSL
- • Complementary and analogous colors
- • Lightness variations (shades and tints)
- • One-click copying of all color values
- • Random color generation