Color Picker

Pick a colour and copy its HEX, RGB, and HSL values at once, or start from a ready-made palette.

Last updated: 17 November 2026.

#FD6018
HEX#FD6018
RGBrgb(253, 96, 24)
HSLhsl(19, 98%, 54%)

Warm palette

Cool palette

Click any swatch to load it. Each copy button copies one format, so you can paste the exact value into your CSS, your design file, or your document.

What a colour value really is

Every colour on a screen is made from light, and every colour value is a recipe for mixing that light. The screen itself has tiny red, green, and blue lights in each pixel, and it makes a colour by turning those three lights up or down. A colour picker is a friendly front for that recipe. You point at the colour you want, and the tool reads back the recipe in three different forms, so you can use it in a website, a design file, or a document without guessing.

How to pick a colour with this tool

Start with the colour box. Click it, and your browser opens its built in colour chooser, with a colour area and a slider for the hue. Drag around until the preview looks right, and the HEX, RGB, and HSL values update at once. The preview is large on purpose, because a small swatch can mislead you. A colour that looks bright in a tiny square can look harsh across a whole page, and a colour that looks dull in a small box can look calm and clean at full size. The large preview gives you a better sense of how the colour will feel in real use.

If you already know the colour you want, type it instead. Paste or type a HEX code such as #0D2950 into the hex box and press Enter. The picker, the preview, and all three values update together. The tool accepts codes with or without the hash sign, and it accepts the short three character form too, so #F60 works the same as #FF6600. If you type a code that is not valid, nothing changes, and the box keeps the last good colour, so you cannot break anything by typing.

The palette swatches are for when you do not have a colour in mind yet. The warm row holds oranges, reds, pinks, and yellows, and the cool row holds blues, greens, teals, and purples. Click any swatch to load it, and then adjust it with the picker if it is close but not quite right. A swatch is a starting point, not a final answer. Many good designs start from a swatch and then shift the lightness a little until the colour sits well with the rest of the page.

Building a small palette that works

One colour is rarely enough for a whole design. A page needs a colour for the background, a colour for the text, a colour for links and buttons, and often one more colour for accents and highlights. The trick is to keep the set small. Two or three colours, plus a light neutral and a dark neutral, cover almost every design. More than that, and the page starts to feel noisy, because the eye has no clear signal for what matters most.

Using colour in real projects

On a website, the most common use of a colour value is in CSS, the code that styles the page. A HEX value goes straight into a rule, such as color: #FD6018; for text, or background: #FD6018; for a background. RGB and HSL work the same way, with the form rgb(253, 96, 24) or hsl(19, 98%, 54%). Each copy button on this page copies one format, so you can paste it straight into your stylesheet, your design tool, or your document without retyping it and risking a mistake.

Colour is also part of images and photos. If you are picking a colour to go with a photo, take a colour from the photo itself, such as the deep blue of a sky or the warm brown of wood, and the design will feel connected to the image. And if the photo is too large for the page, shrink it first with the image compressor so the page loads fast. A fast page with a good colour is better than a slow page with a perfect one.

Colour codes and QR codes

One place where colour values meet another tool is in QR codes. A QR code is usually black on white, because that contrast scans best, but many generators let you change the colours, and the colour you pick is written as a HEX value. If you want a branded QR code, pick a dark colour for the code itself and keep the background light, so phones can still read it. To make one, use the QR code generator and test the result with a phone camera before you print it, because a code that looks fine on screen can fail on paper if the contrast is too low.

Privacy and how the tool works

This colour picker runs fully in your browser. The colour is converted between HEX, RGB, and HSL with plain JavaScript on your device, and nothing you pick, type, or copy is sent to a server, saved, or shared. There is no account, no upload, and no record of the colours you use. You can pick as many colours as you like, copy the values, and close the page, and nothing remains behind.

Frequently asked questions

What is the difference between HEX, RGB, and HSL?

HEX is a short code like #FD6018 that web pages use. RGB lists the red, green, and blue amounts from 0 to 255. HSL lists hue, saturation, and lightness, which is closer to how people think about colour.

How do I use a colour from this tool in my website?

Copy the HEX value and paste it into your CSS, for example color: #FD6018; for text or background: #FD6018; for a background. RGB and HSL work the same way in CSS.

Can I type a hex code instead of picking a colour?

Yes. Type a code like #0D2950 in the hex box and press Enter, or click outside the box. The picker, the preview, and all three values update at once.

How do I pick colours that look good together?

Start with one main colour, then add a light neutral for backgrounds and a dark colour for text. Keep the number of strong colours small, and use the palette swatches here as a starting point.

Is my colour choice sent anywhere?

No. The picker runs in your browser with plain JavaScript. The colours you pick never leave your device, and nothing is stored.