Pick a color and get its HEX, RGB, CMYK, HSV and HSL values instantly
A color picker is a free online tool that lets you choose a color and instantly read its value in five formats: HEX, RGB, CMYK, HSV and HSL. Pick a color on the palette or paste a HEX or RGB value, then copy the format you need with one click. It also includes a WCAG contrast checker so you can test a text color against a background color and confirm it is accessible. Everything runs in your browser, free and with no registration.
How to use the color picker
- Pick a color on the palette, or type a HEX or RGB value to see the color it represents.
- Copy any of the five formats with the copy button next to it.
- Scroll to the contrast checker to test a text color against a background color and see which WCAG levels it passes.
Which color format should you use?
| Format | Best for | Example |
|---|---|---|
| HEX | Websites, CSS, design tools | #f4ae00 |
| RGB | Screens, CSS with transparency (rgba) | rgb(244, 174, 0) |
| CMYK | Print: brochures, packaging, business cards | 0%, 29%, 100%, 4% |
| HSV | Color pickers in graphics software | hsv(43°, 100%, 96%) |
| HSL | CSS palettes: lighter and darker shades of the same hue | hsl(43°, 100%, 45%) |
Common uses
- Matching a brand color when all you have is a HEX code from a designer.
- Converting a web color to CMYK before sending files to print.
- Checking that button and body text meet the WCAG 2.1 contrast requirement of 4.5:1.
- Building a CSS palette: keep the hue and saturation, change only the HSL lightness.