Updated 2026 · By ToolFern

Color Picker

Pick any colour and read its HEX, RGB and HSL codes side by side, copy any of them in one click, all in your browser.

HEX
RGB
HSL

How to use the color picker

  1. Pick a colour, click the swatch to open your system colour picker, or drag to the exact shade you want.
  2. Or type a HEX code, paste a value like #4F46E5 into the text box and everything snaps to match.
  3. Copy what you need, the HEX, RGB and HSL outputs update live, and each Copy button puts that value on your clipboard.

Nothing is uploaded: the colour you pick never leaves your device, so you can experiment freely.

HEX, RGB and HSL explained

The same colour can be written three common ways, and this picker shows all of them at once so you can grab whichever suits the job.

All three describe exactly the same colour, just in different units. Designers often think in HSL while picking, then ship the HEX value to code, and developers reach for RGB when a layout needs a quick channel adjustment. Because the picker keeps the formats in sync, you never have to convert by hand.

Frequently asked questions

What color codes does the picker give me?

For any colour you pick it shows the HEX, RGB and HSL codes together, so you can copy whichever format your CSS, design tool or code needs.

Can I type in a HEX code instead of using the picker?

Yes. Type a valid HEX value such as #4F46E5 into the text box and the picker, swatch, RGB and HSL outputs all update to match.

Does it support 3-digit shorthand HEX codes?

Yes. Short HEX codes like #f00 are accepted and expanded to their full six-digit form before the RGB and HSL values are calculated.

Does it work offline?

Yes, once the page has loaded everything runs on your device and nothing is sent anywhere.