What is a colour picker?
A colour picker is a tool that turns a colour code into a colour you can see, and back again. You type a hex code like #FF5733, and it shows you the colour, its red-green-blue values, its hue-saturation-lightness values, and its name if it has one. Designers, developers, and anyone who works with a website or a document uses one every day.
The default colour on this page is #FF5733, a bright orange-red. Its RGB values are 255, 87, 51, which means full red, a little green, and a little blue. Its HSL values are 11 degrees, 100 percent, 60 percent, which means a hue just past red on the colour wheel, fully saturated, and a little lighter than halfway. It has no common name in the built-in list, so the name row says so plainly.
Colour codes exist because screens do not understand words like orange-red. A screen builds every colour from three lights: red, green, and blue, each set from 0 to 255. Hex is just those three numbers written in base 16, two digits each, after a hash sign. #FF5733 is 255 red, 87 green, 51 blue.
This picker keeps all three descriptions side by side: the hex code, the RGB numbers, and the HSL numbers, plus a live swatch that fills with the colour as you type. Everything runs in your browser, so nothing you type is uploaded or stored.
How a colour picker works
The picker starts from the hex code. It strips the hash sign, then reads the six digits as three pairs: the first pair is red, the second is green, the third is blue. Each pair is a hexadecimal number, so FF is 255, 57 is 87, and 33 is 51. That gives the RGB values 255, 87, 51 for the default colour.
HSL is a different way of describing the same colour, and it matches how people think about colour better. Hue is the position on the colour wheel, from 0 to 360 degrees, with red at 0, green at 120, and blue at 240. Saturation is how vivid the colour is, from grey at 0 percent to full colour at 100 percent. Lightness is how bright it is, from black at 0 percent to white at 100 percent.
For #FF5733 the maths goes like this. The largest channel is red at 255 and the smallest is blue at 51, so the lightness is halfway between them: 60 percent. The spread between the largest and smallest is wide, so the saturation is 100 percent. The hue works out to 11 degrees, just past red towards orange, because the green channel is a little higher than the blue one.
The picker also accepts the short three-digit form. #F53 means the same as #FF5533: each digit is doubled, so F becomes FF, 5 becomes 55, and 3 becomes 33. That colour is RGB 255, 85, 51 and HSL 10 degrees, 100 percent, 60 percent, almost the same as the default, one degree around the wheel.
The named colours, and why the list is short
The picker knows 28 named colours: the sixteen classic web colours like red, lime, blue, and teal, plus common ones like orange, pink, brown, coral, gold, indigo, violet, salmon, khaki, sky blue, crimson, and turquoise. Type #FF0000 and it says Red. Type #FFD700 and it says Gold. Type #FF5733 and it says it is not a named colour, because no standard name covers that exact shade.
The list is short on purpose. There are about 16.7 million possible hex colours, and only a few hundred have names anyone agrees on. A tool that pretended to name every colour would be guessing, and a wrong name is worse than no name. The picker names the colours with real, standard names and is honest about the rest.
That honesty matters in real work. If a brand guide says the primary colour is #FF5733, the name does not matter; the code does. Two people can argue about whether a colour is orange or red, but #FF5733 is #FF5733, and every screen in the world shows the same thing for it. Codes settle arguments that words cannot.
If you need a name for an unnamed colour, describe it by its HSL values instead. #FF5733 is an orange-red at hue 11, full saturation, 60 percent lightness. That description is precise enough for a designer to reproduce the colour, which is what a name is for in the first place. A background color changer is the next step when you want to see a colour filling a whole page rather than a swatch.
A worked example: picking a brand colour
Say you are choosing a colour for a button. You start with #FF5733, the default here. The picker shows RGB 255, 87, 51 and HSL 11 degrees, 100 percent, 60 percent. The swatch shows a bright orange-red, and the name row says it is not a named colour, which is fine: brand colours rarely have names.
Now try the short form. Type #F53 and the picker reads it as #FF5533, RGB 255, 85, 51, HSL 10 degrees, 100 percent, 60 percent. It is a touch redder than the default, one degree around the wheel, and most eyes could not tell them apart. That is how close two nearby hex codes can be.
Try a named one. Type #FF0000 and the picker says Red, RGB 255, 0, 0, HSL 0 degrees, 100 percent, 50 percent. Pure red, no green, no blue, exactly on the zero of the colour wheel. Type #000000 and it says Black; type #FFFFFF and it says White. Both are in the named list, and both are the ends of the lightness scale.
The swatch updates with every keystroke, so you can slide through shades by editing one digit at a time. Change #FF5733 to #FF7733 and the colour shifts a little towards orange; change it to #FF3333 and it shifts towards red. That is the fastest way to tune a colour: watch the swatch, not the numbers.
Who uses a colour picker, and where
Web developers use a colour picker every time they write CSS. A button, a link, a heading, a background: each one takes a hex code, and the picker is how you check that the code you typed is the colour you meant. A single wrong digit turns a warm orange into a muddy brown, and the swatch catches it before the page goes live.
Designers use it to translate between tools. A colour chosen in a design app arrives as a hex code, and the picker confirms the RGB and HSL values before the code goes into a stylesheet. The HSL numbers are the useful ones here: they say how to make a lighter or darker version of the same colour, which is how a whole palette is built.
Content creators use it for thumbnails, slides, and social posts. A favicon generator takes a colour for a site icon, and a image hue tool shifts the colours of a picture the same way this picker shifts a single code. The hex code is the common language between all of them.
Even people who never write code use a colour picker. Anyone matching a paint colour, a fabric, or a brand colour to a screen needs the code, and the picker is the fastest way to get it. Type the code, look at the swatch, and you know whether it matches what you are holding in your hand.
Colour picker vs hex converter
A colour picker and a hex-to-RGB converter do overlapping jobs, and it is worth knowing which one you need. The picker is the visual tool: it shows the colour, gives you all three formats at once, and names it when it can. The converter is the maths tool: it turns one format into another and nothing else.
If you have a hex code and want to know what it looks like, use the picker. The swatch is the answer, and the RGB and HSL rows are the detail. If you have a hex code and need only the RGB numbers for a piece of code, a hex encoder decoder or a dedicated converter is the shorter path, with no swatch in the way.
The picker also handles the short three-digit form and tells you when a code is invalid, which a plain converter sometimes does not. Type #GGGGGG here and every row goes blank except the hex row, which says the code is invalid. That is the picker refusing to guess, which is the right behaviour for a tool whose whole job is accuracy.
In practice, most people keep both open. Pick the colour here, copy the hex code, and paste it wherever the colour is needed. The picker is the place you look; the converter is the place you translate. They agree on the numbers, because they are the same numbers.
Common colour mistakes
The first mistake is dropping the hash sign in the wrong place. #FF5733 and FF5733 mean the same thing to this picker, but in CSS the hash is required: color: FF5733 is not valid, and the browser will ignore it. Always include the hash in code, even though the picker forgives its absence.
The second mistake is trusting a colour name. Red in one system is #FF0000, but in another it is #E53935, and on a printed page it is something else again. Names are approximate; codes are exact. When a colour has to match, use the code, not the name.
The third mistake is judging a colour on the wrong background. #FF5733 looks bright on white and dull on black, and it looks different again on a phone screen at full brightness versus a laptop at half brightness. The swatch here sits on a white page; check the colour where it will actually live before deciding it is right.
The fourth mistake is typing a six-digit code with a letter outside A to F. Hex only uses the digits 0 to 9 and the letters A to F, so G, H, and the rest are not valid. #GGGGGG is not a colour, and the picker will say so. If a code fails, check each character: the usual culprit is a G typed where an F belongs, or an O typed where a zero belongs.
How to use this colour picker
Type a hex code into the box, with or without the hash sign, in six digits or three. The swatch fills with the colour, and the RGB, HSL, and name rows update instantly as you type. There is no button to press and no form to submit.
If the code is not valid, the rows go blank and the hex row says the code is invalid. Check the characters: six hex digits, letters only from A to F, and no spaces. The short form works too: #F53 is read as #FF5533.
Copy the values you need. The hex code is what CSS wants, the RGB numbers are what most design tools and image editors want, and the HSL numbers are what you use when you want a lighter or darker version of the same colour. All three describe the same colour, so pick the format your tool asks for.
Everything runs in your browser. No sign-up, no account, no data sent anywhere. The colour you typed never leaves your device, and the page works offline once it has loaded.