Color Picker

Design Tools

HEX / RGB / HSL with tints

FreePrivateInstant

Color Picker & Converter

Click
#

Color Values

HEX

#6366F1

RGB

rgb(99, 102, 241)

HSL

hsl(239, 84%, 67%)

Quick Swatches

Embed this tool on your websiteFree
  1. Choose how tall the frame should be.
  2. Press Copy code.
  3. Paste it into your page, blog, WordPress or Notion HTML block.
Height

The tool runs inside your visitor's browser, nothing is uploaded, and a small "Powered by ToolCloak" line stays under it. The second line (script) is optional: it makes the frame fit the tool's height.

Similar tools you may like

History

All history →
About this tool

Picking and converting colours: HEX, RGB and HSL, and when to use which

You found the perfect blue in a design, a screenshot or your head, and now every tool asks for it in a different format. A designer sends a HEX code, your stylesheet wants HSL, a slide tool wants RGB. This colour picker shows all three side by side for whatever colour you choose, so you can copy the one you need.

How to use it

Type the full six digits. The short three-digit form (#f60) is common in CSS, but here it should be written in full (#ff6600) for the values to update.

  1. Click the large colour square to open your device’s colour chooser and pick any colour, or type a 6-digit HEX code in the box (for example 6366f1).
  2. Or tap one of the quick swatches below to start from a ready colour.
  3. Read the three values on the right, and press Copy next to the one you need.

The three formats, in plain words

They describe exactly the same colour. Converting between them does not change how it looks. It only changes how it is written.

FormatLooks likeWhat it really is
HEX#6366F1Red, green and blue written in base 16, two digits each. The most common code in design files and brand guides.
RGBrgb(99, 102, 241)The same red, green and blue, as three numbers from 0 to 255. Easy to read and to adjust one channel at a time.
HSLhsl(239, 84%, 67%)Hue (the colour on a 0–360 wheel), saturation (how vivid), lightness (how light or dark). Closest to how people think about colour.

Reading a HEX code

Take #FF6600. Split it in three pairs: FF, 66, 00. These are red, green and blue. FF is the highest value (255), 00 is the lowest (0). So it is full red, some green, no blue, which gives orange.

A few helpful ones to remember: #000000 is black, #FFFFFF is white, #FF0000 is pure red, and any code where all three pairs are equal (like #808080) is a grey.

Why designers like HSL

RGB and HEX make quick changes hard. If you want a slightly darker version of a colour, you have to guess how to change all three numbers together. In HSL it is one number. Keep the hue and saturation the same and just lower the lightness.

  • Want a hover colour that is a bit darker? Reduce lightness by 5–10 points.
  • Want a soft background tint of the same brand colour? Keep the hue, set lightness to 94–97%.
  • Want a muted, greyer version? Lower the saturation.
  • Want a matching colour for a chart? Keep saturation and lightness, and rotate the hue by 30° or 60°.
A handy shortcut for a whole set of shades: pick your colour here, copy the HSL value, and change only the third number in steps.

Where each format is used

  • HEX: CSS, HTML, Figma, Canva, brand guidelines, WordPress themes. Probably the one you will copy most.
  • RGB: CSS when you later need transparency (rgba), Excel and PowerPoint “custom colour” boxes, image editing tools, LED and lighting settings.
  • HSL: CSS design systems, theming, dark mode, building shades and tints.

Choosing colours that people can read

A colour that looks beautiful alone can fail as text. The test is contrast: the difference in brightness between text and its background. The common accessibility guideline asks for a contrast ratio of at least 4.5 to 1 for normal text and 3 to 1 for large text. Light grey on white, and yellow on white, fail the test even though they look fine on a bright laptop screen. They are hard to read outdoors, on cheap phones, and for people with weaker eyesight.

Pick your text and background colours here, then check the pair with the Contrast Checker before you use them on a website or a poster.

Screens are not paper

HEX, RGB and HSL all describe colour made by light on a screen. Printers mix ink instead, and their range of colours (CMYK) is smaller. A very bright electric blue or neon green that glows on a phone can look duller in print. If your colour is going on a visiting card, a banner or packaging, ask the printer for a proof, or ask them which colour code they want.

Colours also change a little from one screen to another because of different displays and brightness settings. A shared HEX code makes sure everyone starts from the same value, even if they each see it slightly differently.

Small tips from daily use

  • Write your brand colours down once, in HEX, in one place. Most colour mismatches come from people guessing by eye.
  • Use the same few colours everywhere: one main colour, one accent, plus greys. Too many colours looks messy.
  • Do not rely on colour alone to show meaning (like red for error). Add an icon or a word too, because some people cannot tell red and green apart.
  • When you copy a colour from an image, pick it from a flat area, not from a shadow or an edge.

Privacy

The colour is converted in your browser. Nothing is uploaded, and the colours you pick are not recorded.

Color Picker — at a glance

Pick any color visually and get its HEX, RGB and HSL codes, plus lighter and darker shades.

Pick a color
● (color swatch)
Pick
Codes
HEX: #6366F1
RGB: 99, 102, 241
HSL: 239, 84%, 67%

How to use it — step by step

Great for web designers, developers and anyone choosing brand colors.

1

Choose a color

Click the color box and select any color you like.

2

See the codes

HEX, RGB and HSL values appear instantly.

3

Explore shades

Check tints (lighter) and shades (darker) of the same color.

4

Copy

Click copy next to the code you need.

Pro tips

Small things that make the result better.

✦HEX is the most common in CSS: #6366F1.
✦Use tints and shades to build a matching palette.
✦Dark text needs a light background for easy reading.

Quick facts

16.7Mpossible colors in RGB
3 formatsHEX, RGB, HSL
Tintsand shades included
1 clickcopy any code

Frequently Asked Questions

What is Color Picker?+

Pick any color visually and instantly get its HEX, RGB, and HSL values with one-click copy. Preview your color on a swatch, see the luminance value, and generate tints and shades.

How do I use Color Picker?+

Open Color Picker on this page, then: 1. Choose a color 2. See the codes 3. Explore shades 4. Copy. Everything runs in your browser on a phone or computer.

What is HEX?+

A 6-character code starting with # that describes a color, like #FF0000 for red.

HEX vs RGB vs HSL?+

They are different ways to write the same color. HSL is easiest for tweaking lightness.

Is this tool really free?+

Yes — completely free, no signup, no watermark and no usage limit.

Also searched as: color picker · hex color picker · rgb color picker · color code finder · html color picker · hsl color picker

More Free Tools