Like ToolFern? Prefer us as your source on Google →

Color Picker

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

HEX
RGB
HSL

Export this colour as code

CSS custom property
Tailwind config
or sample from an image
🖼️

Drop an image here

or click to browse

drag & drop or click to browse

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. Or sample from a photo, upload an image and click anywhere on it to read that exact pixel's colour.
  4. Copy what you need, the HEX, RGB and HSL outputs update live, and each Copy button puts that value on your clipboard.

Experiment freely, changes update instantly.

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.

Found this useful? Share it