Color Picker
This color picker turns one color into everything you'll need for it. Pick a shade or type a HEX code, and you'll get the HEX, RGB, and HSL values at once, each ready to copy. It also builds tints and shades, finds the complementary color, and checks contrast against black and white. It's free, private, and runs in your browser, so grabbing a color in the right format for CSS or design takes a second, and you won't need an account. There's nothing to install, and they're all the standard codes your tools expect.
- HEX, RGB, HSL
- Tints and shades
- Complement
- Contrast check
- Copy in a tap
Last updated June 17, 2026 HEX, RGB, and HSL Reviewed by the Calcowa team
Copied.
Enter a valid HEX code, like #3B5BDB.
Tints and shades
Lighter to darker. Tap any swatch to make it the active color.
Complementary color
Text contrast (WCAG)
How do color codes work?
A screen color is built from red, green, and blue light, each set from 0 to 255. HEX writes those three numbers in base 16, so #3B5BDB is red 59, green 91, blue 219, which is the same as the RGB form rgb(59, 91, 219). HSL takes a different angle: hue is the position on the color wheel from 0 to 360 degrees, saturation is how vivid it is, and lightness is how bright. They all point to one color, just in different words, and this picker converts between them instantly. It also mixes your color toward white or black for tints and shades, spins the hue halfway around for the complement, and runs the contrast math so your text stays readable. You don't have to do any of the conversion yourself, and you won't lose the exact value, since it's copy-ready in each format. That's handy when a design file gives you HEX but your CSS wants HSL.
Grabbing a color, step by step
Here's the quick routine for any project:
- 1
Pick or pasteUse the swatch, or type a HEX code you already have.
- 2
Read the codesYou'll see HEX, RGB, and HSL update together.
- 3
Build a paletteTap a tint or shade if you'd like a lighter or darker tone.
- 4
Copy what you needTap any code and it's on your clipboard for CSS.
Common colors in every format
A few familiar colors shown as HEX, RGB, and HSL.
| Color | HEX | RGB | HSL |
|---|---|---|---|
| Red | #FF0000 | 255, 0, 0 | 0, 100%, 50% |
| Green | #00FF00 | 0, 255, 0 | 120, 100%, 50% |
| Blue | #0000FF | 0, 0, 255 | 240, 100%, 50% |
| White | #FFFFFF | 255, 255, 255 | 0, 0%, 100% |
| Black | #000000 | 0, 0, 0 | 0, 0%, 0% |
Frequently asked questions
You pick a color from the swatch or type a HEX code, and the tool shows that same color in every common format at once: HEX, RGB, and HSL. It also builds a row of tints and shades, finds the complementary color, and checks the contrast against black and white. It all runs live in your browser, so you'll see each value update the moment you move the picker, and you can copy any code with one tap.
They're three ways to write the same color. HEX is the six-digit code you see in CSS, like #3B5BDB, built from red, green, and blue in base 16. RGB lists those same channels as numbers from 0 to 255. HSL describes the color by hue, saturation, and lightness, which is friendlier when you want to nudge a shade lighter or shift the hue. This picker shows all three so you can grab whichever your project needs.
Use the tints and shades row. Tints mix your color toward white for lighter versions, and shades mix it toward black for darker ones, in even steps. Tap any swatch in that row and it becomes the active color, with every code updated. It's a quick way to build a palette from one starting color, like a hover state or a set of background tones, without guessing at the values.
It shows how readable text would be on your color, compared against both white and black, using the standard WCAG contrast ratio. A ratio of 4.5 to 1 or higher is the usual target for normal body text, and 3 to 1 works for large text. The picker flags whether each pairing passes, so you'll know at a glance if white or black text sits comfortably on your chosen background.
A complement is the color directly opposite yours on the color wheel, found by rotating the hue by 180 degrees. Complements create strong contrast and a lively pairing, which is why they show up in logos, charts, and call-to-action buttons. The picker calculates it for you and shows its swatch and codes, so you've got an instant accent color to try alongside your main one.
Yes to both. There's no sign-up, no limit, and everything runs in your browser, so the colors you pick never leave your device. Bookmark it for web design, CSS work, branding, or any project where you need a color in the right format fast. You'll have the HEX, RGB, and HSL codes, plus a palette and contrast check, in a second, and copying is one tap.
Related tools
More developer and text tools.
Text, code, and color utilities.
Binary TranslatorText to binary and number bases.
Base64 Encode & DecodeText to Base64 and back.
Building a palette?
Pick a color above, or browse all the dev tools.