Color Picker & Converter
Pick a color and see it instantly in HEX, RGB, and HSL.
Couldn't parse that value — check the format and try again.
How to pick and convert a colour
- Click the swatch to choose a colour visually, or type a value into the HEX, RGB or HSL field and press Enter.
- The other two formats update instantly, so the tool works as a converter in any direction.
- Use the copy buttons to grab the value you need, and Save current color to add the colour to your palette.
Your palette holds up to 24 colours and is saved in your browser, ready for next time.
HEX, RGB and HSL — what's the difference?
All three describe the same colours in different ways:
- HEX (e.g.
#FF8800) is three pairs of hexadecimal digits for red, green and blue, from 00 to FF. It's the most common format in web design and brand guides. A three-digit shorthand like#F80expands to#FF8800. - RGB (e.g.
rgb(255, 136, 0)) gives the same red, green and blue amounts as plain numbers from 0 to 255 — the way screens actually mix light. - HSL (e.g.
hsl(32, 100%, 50%)) describes colour the way people think about it: hue as an angle around the colour wheel (0 red, 120 green, 240 blue), saturation from grey to vivid, and lightness from black to white.
Building a palette with HSL
HSL makes it easy to create matching colours without guesswork. Keep the hue the same and change the lightness to get tints and shades for hover states and borders. Add 180 to the hue for a complementary colour, or add 120 and 240 for a three-colour triadic scheme.
When placing text on a coloured background, aim for strong contrast. Accessibility guidelines (WCAG) recommend a contrast ratio of at least 4.5:1 for normal body text — as a rule of thumb, very light backgrounds need text with a lightness below about 30%.
Frequently asked questions
Why does a colour change slightly when I convert it back?
HSL values are rounded to whole numbers, so converting HEX → HSL → HEX can occasionally shift one channel by a single step. The difference is invisible to the eye.
Does it support transparency?
Not yet. You can paste an rgba() or hsla() value and the colour is read, but the alpha (transparency) part is ignored.
Can I pick a colour from my screen?
The swatch opens your browser's own colour chooser. In Chrome and Edge on desktop, that chooser includes an eyedropper for picking from anywhere on screen.