free tool, no sign-up

Color Picker

Pick colors and get their HEX, RGB, and HSL values. Perfect for art projects, web design, and learning about colors.

#3B82F6
HEX
#3B82F6
RGB
rgb(59, 130, 246)
HSL
hsl(217, 91%, 60%)
RGB Values
59, 130, 246
Red59
Green130
Blue246

The Color Picker is a visual tool for selecting colors and getting their values in different formats. Use the color selector to find the perfect shade, then copy the HEX code (like #FF5733), RGB values (like 255, 87, 51), or HSL values for use in design projects, websites, or digital art. The tool helps you understand how colors are represented digitally and how different color formats relate to each other.

Four ways to choose a colour

There are four ways to land on the colour you want, and they all feed the same preview panel at the top of the page. The small colour swatch opens your device's own colour picker, the one built into the browser, so on a laptop you get the full gradient square and eyedropper your operating system provides. Next to it is a text box where you can type a hex code straight in. Below that sit twenty preset swatches, and below those, three RGB sliders.

The hex box accepts both the long and short form. Type #2E86DE and the preview updates as soon as the sixth character lands; type the three-character shorthand #F80 and it expands to #FF8800 for you. Anything that is not a valid hex character is simply ignored as you type, so you cannot end up with a broken code sitting in the field.

The twenty presets run through the spectrum from red round to pink, then finish with black, mid grey and white. They are handy when you just need a reasonable red or a reasonable green and do not want to fiddle. The currently selected swatch gets a ring around it so you can see where you are in the row.

Reading HEX, RGB and HSL side by side

Every colour is shown in four formats at once: the hex code in capitals, a full CSS rgb() string, a full hsl() string, and the three raw RGB numbers on their own with no wrapper. Each one has a copy button beside it that puts the value on your clipboard and shows a green tick for two seconds so you know it worked.

The reason for four boxes rather than one is that different software wants different things. A website stylesheet usually wants the hex code or the rgb() string. Word, PowerPoint and most paint programs ask for red, green and blue as three separate numbers from 0 to 255, which is what the plain RGB values box is for, so you can paste them without deleting brackets and commas by hand. HSL is the odd one out and the most useful for thinking: it gives you hue in degrees around the colour wheel, then saturation and lightness as percentages.

Watching all four change together is the quickest way to understand how a hex colour code actually works. Drag the red slider and you can see the first pair of hex characters climb while the hue figure swings. That is a genuinely good five-minute lesson for an older primary or lower secondary class learning that a colour code is just three numbers written in base sixteen.

Using the RGB sliders to fine-tune a shade

The three sliders under the value boxes each run from 0 to 255 and show their current number on the right. They are tinted live, so the green slider is drawn as a gradient from no green to full green at whatever red and blue you currently have set. That makes it much easier to see what one channel is contributing than a plain grey track would.

This is the part to use when a colour is nearly right. If a blue feels too cold, nudge red up twenty and watch it warm without losing the hue. If a colour looks muddy on screen, pull the lowest of the three channels down rather than pushing the highest one up. The hex code in the big preview panel updates on every step, so you can stop the moment it looks right and copy the code.

What this colour picker does not do

It works from a colour you choose, not from a photograph. There is no image upload, so you cannot drop in a picture and sample a pixel from it, and there is no screen eyedropper built into the page. If your browser's own colour dialog includes an eyedropper, which Chrome and Edge do on desktop, you can reach it through the swatch button and that will pick from anywhere on your screen.

It also does not save anything. Nothing is stored between visits and no palettes are kept, so copy the codes you need into your document or notes as you go. Everything runs in the browser on your own device, which means it works offline once the page has loaded and nothing you pick is sent anywhere.

Classroom and craft uses

For display work, pick your title colour here first and use the same hex code in every slide, poster and label so the board looks deliberate rather than assembled. Copying one code into PowerPoint's custom colour box takes a few seconds and saves the usual problem of six slightly different blues.

For a colour lesson, the preview panel does something quietly useful: the text on it flips between black and white depending on how light the colour behind it is. Ask a class to find the exact point where it switches and you have an easy way into why pale yellow text on white is unreadable and why contrast matters for anyone with low vision. Younger children can simply hunt for a named colour, their favourite colour, or the colour of their reading book cover, and write the code down.

Frequently Asked Questions

How do I find the hex code of a colour?

Pick the colour with the swatch, a preset or the RGB sliders, and the hex code appears in large type on the preview panel and again in the HEX box below. The copy button next to it puts it on your clipboard.

Can I pick a colour from an image or a photo?

Not on this page. There is no image upload or in-page eyedropper here. On desktop Chrome or Edge you can open the browser's own colour dialog from the square swatch and use its eyedropper to sample anything on your screen.

What is the difference between HEX, RGB and HSL?

They describe the same colour three ways. HEX writes the red, green and blue amounts as six characters in base sixteen, RGB writes them as three numbers from 0 to 255, and HSL gives hue in degrees plus saturation and lightness as percentages.

Can I type a colour code in instead of picking one?

Yes. Type or paste a hex code into the box labelled Enter HEX Color. Six-character codes like #3B82F6 work, and three-character shorthand like #F80 is expanded automatically.

How do I convert RGB to a hex colour code?

Set the three RGB sliders to the numbers you have and read the hex code off the preview. The conversion happens as you drag, so you do not need to work out the base sixteen yourself.

Is this colour picker free, and do I need an account?

It is free with no sign-up and no limit on how many colours you look up. Everything runs in your browser, so nothing you pick leaves your device.

Will the colour print the same as it looks on screen?

Usually not exactly. Screens mix light and printers mix ink, so bright blues and greens in particular print duller. Test-print a small block before committing a whole set of display headings to one shade.

Can I save a palette of colours here?

No, nothing is saved between visits. Copy each code into your document, slide deck or notes as you choose it.

Related Tools