Color Picker

Pick a color once and read it every way: this color picker keeps the HEX, RGB and HSL values in sync as you work, and shows the tints and shades that go with it.

1Pick a color or type a value
2Check HEX, RGB and HSL
3Copy the format you need
color: #2563EB;

Tints (mixed with white) — click to copy

Shades (mixed with black) — click to copy

Private by design: 100% in your browser — nothing is uploaded, no sign-up. This tool runs entirely on your device.

How to use this color picker

Start with the big color swatch: click it and your browser's own color picker opens, with a palette and an eyedropper-style gradient. The moment you choose a color, every field on the page updates — the HEX code, the three RGB numbers and the three HSL numbers all describe the color you just picked. If you already have a value, work in the other direction instead: type a HEX code into its field, or adjust the RGB or HSL numbers one at a time, and the preview and all the other fields follow. Nothing is a one-way street; every representation stays editable and in sync.

When the color is right, copy it in the format your job needs. Designers sharing a brand color usually pass the HEX code. Developers writing CSS can take any of the three — the line under the preview shows the color as a ready-made CSS declaration in all three formats at once. The Copy buttons put the exact text on your clipboard, so there is no chance of a digit going missing while you retype #2563EB by hand.

Below the fields you will find the color's family: five tints stepping towards white and five shades stepping towards black, each labelled with its own HEX value. Clicking any chip copies that value and loads it into the picker, so you can keep walking lighter or darker from there. It is the fastest way to build the small, harmonious set of variants every real design needs — a button, its hover state, a soft background and a readable text color, all from one starting point.

Example: one blue, three languages

The blue this website uses for its buttons is a good specimen. In HEX it is:

#2563EB

The same color in RGB and HSL:

rgb(37, 99, 235) hsl(221, 83%, 53%)

Read the HEX in pairs and the RGB appears: 25 hex is 37 red, 63 hex is 99 green, EB hex is 235 blue. The HSL version tells a different story — a hue of 221° places it squarely in the blue family, 83% saturation makes it vivid rather than greyish, and 53% lightness puts it almost exactly mid-bright, which is why it works with white text on top.

HEX, RGB and HSL — when each one earns its place

HEX is the shorthand of the web: compact, unambiguous and the format most brand guidelines and design tools trade in. Its weakness is that it tells you nothing at a glance — nobody can look at #7C3AED and picture the purple. RGB mirrors how screens physically build color, by adding red, green and blue light, and it is the natural format when a program or a stylesheet needs an alpha channel for transparency. HSL is the human format. Because it separates the color family (hue) from its intensity (saturation) and brightness (lightness), it lets you reason: “same blue, ten points darker” is a single number change in HSL and a small research project in HEX. For hand-tuning interfaces, that difference adds up quickly.

Building a small palette from a single color

Professional palettes rarely start with five unrelated colors. They start with one — the brand color — and derive the rest. Tints of that color make calm section backgrounds and selected states; shades make headings, footers and hover effects; the pure color is reserved for the few elements that must draw the eye, like the main button. Add one neutral grey scale and a single warning red, and you have a palette that looks designed rather than assembled. The tints and shades above give you the derived half of that system in one click; keep the steps consistent across your site and the whole design quietly holds together.

Frequently asked questions

What is the difference between HEX, RGB and HSL?

They are three ways of writing the same color. HEX packs the red, green and blue amounts into six hexadecimal digits, like #2563EB. RGB lists those same amounts as numbers from 0 to 255: rgb(37, 99, 235). HSL describes the color the way people think about it — a hue angle on the color wheel, a saturation percentage and a lightness percentage.

Can I type a HEX value without the # sign?

Yes. The HEX field accepts values with or without the leading #, and it also understands the short 3-digit form — #FFF means the same as #FFFFFF. If the value is not valid hex, the tool says so instead of guessing.

What are tints and shades?

A tint is your color mixed with increasing amounts of white, making it lighter step by step; a shade is your color mixed with black, making it darker. Designers use tints and shades of one base color to build hover states, borders, backgrounds and text colors that always harmonize.

Which format should I use in my CSS?

Any of them — browsers accept HEX, RGB and HSL everywhere a color is expected. HEX is the most common for fixed brand colors. HSL is often easier when you design by hand, because you can keep the hue fixed and just raise or lower the lightness to make a matching variant.

What do hue, saturation and lightness actually mean?

Hue is the color family, measured as an angle: 0° is red, 120° is green, 240° is blue. Saturation is how vivid the color is — 0% is grey, 100% is the pure color. Lightness is how bright it is — 0% is black, 100% is white, and 50% is the color at full strength.

Why does my color look different in print?

Screens mix red, green and blue light (RGB), while printers mix cyan, magenta, yellow and black ink (CMYK). Some bright screen colors simply cannot be reproduced in ink, so they print duller. For print work, ask your printer for a CMYK proof instead of trusting the screen values.

How do I copy a color into my project?

Use the Copy buttons next to each format, or click any tint or shade chip to copy that exact HEX value. The line under the preview shows the color written as a ready-to-paste CSS declaration in all three formats.

How do I make a darker version of a button color for hover?

Pick the button color, then look at the shades row — the first or second shade is usually the right depth for a hover state. Or switch to the HSL fields and lower the lightness by about 8–10 points while keeping hue and saturation untouched.

Is anything I pick uploaded or tracked?

No. The picker and all conversions run in JavaScript in your own browser. Colors you choose are never sent to a server or stored anywhere — closing the tab clears everything.

Related tools