Color Picker

Color Picker — Pick any color and copy its HEX, RGB or HSL code for your design. Free to use online, no sign-up; runs 100% in your browser on ScopeTreasure.

In short: Pick any color and copy its HEX, RGB or HSL code for your design. Free to use in your browser — no sign-up.

What is Color Picker?

Color Picker lets you pick any color and see its HEX, RGB and HSL codes at once. Copy the code you need for a website, a poster or a slide — with preset swatches and a random color button for ideas.

How to use this tool

  1. Click the color box and pick a color, or type a HEX code such as #FF5733.
  2. Read the HEX, RGB and HSL values shown underneath.
  3. Press Copy next to the code you need.
  4. Try the preset swatches for common colors, or press Random color for an idea.
  5. Use the copied code in your website, design app or document.

About this tool

Every color on a screen has a HEX code: a # sign followed by 6 digits, in three pairs for red, green and blue. Each pair runs from 00 to FF in hex, which is 0 to 255 in normal numbers. So #FF0000 is pure red — full red, no green, no blue — and #000000 is black, because all three are zero.

The RGB numbers say the same thing in plain numbers. Red, green and blue each have 256 levels, from 0 to 255, so a screen can show 256 times 256 times 256 colors — 16,777,216 colors in total. That is why two colors can look almost the same yet have different codes.

HSL reads the same color a different way: hue is the position on the color wheel from 0 to 360 degrees, saturation is how strong the color is from 0 to 100%, and lightness is how bright it is from 0 to 100%. Designers like HSL because raising the lightness makes a lighter shade of the same color without changing its hue.

Use the presets when you need a trusted color fast — a brand blue, a warning red, a calm green. Use the random button when you are stuck for ideas: it shows a color you would not have picked yourself, and sometimes that is the one that works.

Everything runs on your device: the color is picked locally and never sent anywhere. There is no sign-up and no limit — pick and copy as many colors as you need.

Example — a button color and its codes:

A designer needs a warm orange for a Buy button. She picks #FF5733 and the tool shows RGB 255, 87, 51 and HSL 11, 100%, 60% — hue 11 degrees, full saturation, 60% lightness. She copies the HEX code into her website, and the button turns exactly that orange. For a lighter shade of the same color she raises the lightness to 75% and gets a soft peach.

A student making a poster picks a dark blue for the title and white for the text. The strong contrast makes the title easy to read from far away — always check that text and background are far apart in lightness, or the words blur together.

Frequently asked questions

How do I pick a color with this tool?
Click the color box and pick a color, or type a HEX code such as #FF5733 into the text box. The HEX, RGB and HSL values update at once.
What is a HEX code?
A # sign followed by 6 hex digits: two for red, two for green and two for blue. Each pair runs from 00 to FF, which is 0 to 255.
What do the RGB numbers mean?
How much red, green and blue light the color has, each from 0 to 255. #FF5733 is RGB 255, 87, 51 — lots of red, some green, a little blue.
What is HSL?
Hue (0 to 360 degrees around the color wheel), saturation (0 to 100%) and lightness (0 to 100%). It is the easiest way to make lighter or darker shades of one color.
How many colors can a screen show?
16,777,216 — 256 levels of red times 256 of green times 256 of blue.
Can I copy the code to use in my website?
Yes. Press Copy next to the HEX, RGB or HSL value and paste it into your website code, design app or document.
What are the preset swatches for?
Common colors you can pick in one click — black, white, red, green, blue and a few brand colors — so you do not have to hunt for them.
Is my picked color private?
Yes. The color is picked in your own browser and never leaves your device.

Related Design & Create tools